Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (4e11d1f 2022-08-24T00:12:55.883067Z)
What command(s) is the bug in?
forge coverage
Operating System
macOS (Intel)
Describe the bug
After running forge coverage on this directory I'm getting the following message:
Analysing contracts...
Error:
Could not read source code for analysis
Context:
- Error #0: failed to read from "/src/Divider.sol": No such file or directory (os error 2)
- Error #1: No such file or directory (os error 2)
We are using yarn as dependency manager and we are using yarn workspaces to handle multiple packages on the same repo.
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (4e11d1f 2022-08-24T00:12:55.883067Z)
What command(s) is the bug in?
forge coverage
Operating System
macOS (Intel)
Describe the bug
After running
forge coverageon this directory I'm getting the following message:We are using
yarnas dependency manager and we are usingyarn workspacesto handle multiple packages on the same repo.