aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/core-utils
diff options
context:
space:
mode:
Diffstat (limited to 'shared/core-utils')
-rw-r--r--shared/core-utils/common/path.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/core-utils/common/path.ts b/shared/core-utils/common/path.ts
index ec507538b..006505316 100644
--- a/shared/core-utils/common/path.ts
+++ b/shared/core-utils/common/path.ts
@@ -7,6 +7,8 @@ function root () {
7 7
8 rootPath = __dirname 8 rootPath = __dirname
9 9
10 if (basename(rootPath) === 'tools') rootPath = resolve(rootPath, '..')
11 if (basename(rootPath) === 'scripts') rootPath = resolve(rootPath, '..')
10 if (basename(rootPath) === 'common') rootPath = resolve(rootPath, '..') 12 if (basename(rootPath) === 'common') rootPath = resolve(rootPath, '..')
11 if (basename(rootPath) === 'core-utils') rootPath = resolve(rootPath, '..') 13 if (basename(rootPath) === 'core-utils') rootPath = resolve(rootPath, '..')
12 if (basename(rootPath) === 'shared') rootPath = resolve(rootPath, '..') 14 if (basename(rootPath) === 'shared') rootPath = resolve(rootPath, '..')