Skip to content

Commit

Permalink
Change compilers cache dir
Browse files Browse the repository at this point in the history
  • Loading branch information
alcuadrado committed Oct 5, 2022
1 parent 98e552e commit 220f2c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/hardhat-core/src/internal/util/global-dir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ export async function writeAnalyticsId(clientId: string) {

export async function getCompilersDir() {
const cache = await getCacheDir();
const compilersCache = path.join(cache, "compilers");
// Note: we introduce `-v2` to invalidate all the previous compilers at once
const compilersCache = path.join(cache, "compilers-v2");
await fs.ensureDir(compilersCache);
return compilersCache;
}
Expand Down

0 comments on commit 220f2c8

Please sign in to comment.