diff --git a/src/utils.ts b/src/utils.ts index 4197ebc2f0..6171c604e1 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -123,8 +123,9 @@ function getStartDir(): string { const grandparent = path.resolve(__dirname, '..', '..'); if (grandparent.endsWith('/node_modules')) { - return path.resolve(grandparent, '..'); + return process.cwd(); } + return '.'; }