diff options
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/core-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/core-utils.ts b/server/helpers/core-utils.ts index 9771351e1..38b6f63f8 100644 --- a/server/helpers/core-utils.ts +++ b/server/helpers/core-utils.ts | |||
@@ -141,7 +141,7 @@ function root () { | |||
141 | const paths = [ __dirname, '..', '..' ] | 141 | const paths = [ __dirname, '..', '..' ] |
142 | 142 | ||
143 | // We are under /dist directory | 143 | // We are under /dist directory |
144 | if (process.mainModule && process.mainModule.filename.endsWith('.ts') === false) { | 144 | if (process.mainModule && process.mainModule.filename.endsWith('_mocha') === false) { |
145 | paths.push('..') | 145 | paths.push('..') |
146 | } | 146 | } |
147 | 147 | ||