1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Add server hooks

This commit is contained in:
Chocobozzz 2019-07-18 14:28:37 +02:00 committed by Chocobozzz
parent 66e001c848
commit b4055e1c23
17 changed files with 422 additions and 112 deletions

View file

@ -141,7 +141,7 @@ function root () {
const paths = [ __dirname, '..', '..' ]
// We are under /dist directory
if (process.mainModule && process.mainModule.filename.endsWith('.ts') === false) {
if (process.mainModule && process.mainModule.filename.endsWith('_mocha') === false) {
paths.push('..')
}