You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The temp command line option lets you to specify the name of a disposable folder to stage the compilation artifacts of instrumented contracts in before the tests are run.
But when trying any other folder name rather than "artifacts", it doesn't seem to work (delete it):
hardhat coverage --temp artifacts ----> Creates the folder, runs and then deletes it. ✅
hardhat coverage --temp myartifacts ----> Does not create "myartifacts" folder, but "artifacts" instead, runs and then it does not delete it. ❌
Couldn't fin anything in the doc pointing to this behavior, although some odd behavior around --temp flag is discussed in #573
The text was updated successfully, but these errors were encountered:
For a while now, solidity-coverage has delegated management of the artifacts destination to Hardhat itself. The temp flag is a vestige of an earlier way stage in Hardhat's development.
Am going to remove this is v0.9.0 - updating the roadmap in #825 to reflect that and closing here.
From solidity-coverage doc here:
But when trying any other folder name rather than "artifacts", it doesn't seem to work (delete it):
hardhat coverage --temp artifacts
----> Creates the folder, runs and then deletes it. ✅hardhat coverage --temp myartifacts
----> Does not create "myartifacts" folder, but "artifacts" instead, runs and then it does not delete it. ❌Couldn't fin anything in the doc pointing to this behavior, although some odd behavior around --temp flag is discussed in #573
The text was updated successfully, but these errors were encountered: