Skip to content

Commit

Permalink
ensure stale cache is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Aug 18, 2021
1 parent 1fb7afe commit 6c658a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/trace-next-server.js
Expand Up @@ -46,6 +46,10 @@ async function main() {
await execa('yarn', ['install'], {
cwd: workDir,
stdio: ['ignore', 'inherit', 'inherit'],
env: {
...process.env,
YARN_CACHE_FOLDER: path.join(workDir, '.yarn-cache'),
},
})

const nextServerPath = path.join(
Expand Down

0 comments on commit 6c658a0

Please sign in to comment.