Skip to content

Commit

Permalink
Set config lookup point to cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnaya Peretz committed Oct 17, 2017
1 parent 7b15180 commit 4037a83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils.ts
Expand Up @@ -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 '.';
}

Expand Down

0 comments on commit 4037a83

Please sign in to comment.