From 8f55685245f0115e1337b12691bc7ed4a6410c52 Mon Sep 17 00:00:00 2001 From: wiasliaw Date: Tue, 26 Nov 2024 06:48:25 +0000 Subject: [PATCH] fix(hardhat-foundry): config clashes condition --- packages/hardhat-foundry/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hardhat-foundry/src/index.ts b/packages/hardhat-foundry/src/index.ts index 68d1b061ae..a9f2eaf490 100644 --- a/packages/hardhat-foundry/src/index.ts +++ b/packages/hardhat-foundry/src/index.ts @@ -66,7 +66,7 @@ extendConfig((config, userConfig) => { config.paths.root, foundryConfig.cache_path ); - if (config.paths.cache === foundryCachePath) { + if (config.paths.cache !== foundryCachePath) { config.paths.cache = "cache_hardhat"; }