Skip to content

Commit

Permalink
fix: create ci cache folder inside node_modules (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias authored Nov 6, 2020
1 parent 89ab6c9 commit d0a95cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const getPw = async (browserName, cachePath, spinner) => {
}

if (process.env.CI) {
cachePath = path.join(process.cwd(), '.cache');
cachePath = path.join(process.cwd(), 'node_modules', '.cache');
}

if (!fs.existsSync(cachePath)) {
Expand Down

0 comments on commit d0a95cc

Please sign in to comment.