Use dashes for filenames

This commit is contained in:
Chocobozzz 2016-07-01 16:22:36 +02:00
parent fc51fde048
commit 5f698b82c7
11 changed files with 8 additions and 8 deletions

View File

@ -30,7 +30,7 @@ if (miss.length !== 0) {
}
// ----------- PeerTube modules -----------
const customValidators = require('./server/helpers/customValidators')
const customValidators = require('./server/helpers/custom-validators')
const installer = require('./server/initializers/installer')
const mongoose = require('mongoose')
const routes = require('./server/controllers')

View File

@ -5,7 +5,7 @@ const replay = require('request-replay')
const request = require('request')
const constants = require('../initializers/constants')
const peertubeCrypto = require('./peertubeCrypto')
const peertubeCrypto = require('./peertube-crypto')
const http = config.get('webserver.https') ? 'https' : 'http'
const host = config.get('webserver.host')

View File

@ -9,7 +9,7 @@ const path = require('path')
const checker = require('./checker')
const logger = require('../helpers/logger')
const peertubeCrypto = require('../helpers/peertubeCrypto')
const peertubeCrypto = require('../helpers/peertube-crypto')
const Client = mongoose.model('OAuthClient')
const User = mongoose.model('User')

View File

@ -8,7 +8,7 @@ const request = require('request')
const constants = require('../initializers/constants')
const logger = require('../helpers/logger')
const peertubeCrypto = require('../helpers/peertubeCrypto')
const peertubeCrypto = require('../helpers/peertube-crypto')
const requests = require('../helpers/requests')
const http = config.get('webserver.https') ? 'https' : 'http'

View File

@ -57,7 +57,7 @@ function create (options, callback) {
throw new Error('Received exception error from webtorrent process : ' + data.exception)
})
const webtorrentProcess = spawn(pathUtils.join(__dirname, 'webtorrentProcess.js'), host, port, { detached: true })
const webtorrentProcess = spawn(pathUtils.join(__dirname, 'webtorrent-process.js'), host, port, { detached: true })
if (electronDebug === true) {
webtorrentProcess.stderr.on('data', function (data) {

View File

@ -2,7 +2,7 @@
const logger = require('../helpers/logger')
const mongoose = require('mongoose')
const peertubeCrypto = require('../helpers/peertubeCrypto')
const peertubeCrypto = require('../helpers/peertube-crypto')
const Pod = mongoose.model('Pod')

View File

@ -4,7 +4,7 @@ const mongoose = require('mongoose')
const checkErrors = require('./utils').checkErrors
const constants = require('../../initializers/constants')
const customValidators = require('../../helpers/customValidators')
const customValidators = require('../../helpers/custom-validators')
const logger = require('../../helpers/logger')
const Video = mongoose.model('Video')

View File

@ -8,7 +8,7 @@ const pathUtils = require('path')
const mongoose = require('mongoose')
const constants = require('../initializers/constants')
const customValidators = require('../helpers/customValidators')
const customValidators = require('../helpers/custom-validators')
const logger = require('../helpers/logger')
const utils = require('../helpers/utils')
const webtorrent = require('../lib/webtorrent')