Skip to content

Commit

Permalink
fix download location to avoid duplicate node_modules folders
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizencc committed Oct 13, 2022
1 parent 2ab6282 commit e97124c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,5 @@ export function findInstallDir(): string | undefined {
if (!require.main?.paths) {
return undefined;
}
return require.main.paths[0];
return path.dirname(require.main.paths[0]);
}

0 comments on commit e97124c

Please sign in to comment.