Skip to content

Commit 1c0ef44

Browse files
committed
use absolute path for foundry sources
1 parent 6447e80 commit 1c0ef44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/hardhat-foundry/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extendConfig((config, userConfig) => {
5959
}
6060

6161
// Set sources path
62-
config.paths.sources = foundrySourcesPath;
62+
config.paths.sources = path.resolve(config.paths.root, foundrySourcesPath);
6363

6464
// Change hardhat's cache path if it clashes with foundry's
6565
const foundryCachePath = path.resolve(

0 commit comments

Comments
 (0)