compilers icon indicating copy to clipboard operation
compilers copied to clipboard

source.ast.absolute_path is not an absolute path

Open odyslam opened this issue 1 year ago • 1 comments

This was surfaced in foundry.

The absolute_path is not absolute, but it's the relative path (e.g KillProtocol.s.sol). The fs_read will fail, unless forge script runs from the directory in which the project lives.

Maybe it should change it's name to relative_path and then append it in relation to the root in forge?

odyslam avatar Oct 27 '23 16:10 odyslam

i would like to take this

1010adigupta avatar Nov 10 '23 20:11 1010adigupta