Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix import path error, improve readability #990

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

mikeghen
Copy link
Contributor

This import path was incorrect and caused my build to fail. Path was forge-std/src/console.sol which failed with error:

% forge build
[⠊] Compiling...
Error: 
Failed to resolve file: "/Users/user/Documents/Projects/fluidity-contracts/lib/forge-std/src/src/console.sol": No such file or directory (os error 2).
 Check configured remappings..
    --> "/Users/user/Documents/Projects/fluidity-contracts/contracts/liquidity/userModule/main.sol"
        "forge-std/src/console.sol"

The correct path was found here on this page of the book: https://book.getfoundry.sh/reference/forge-std/

@Evalir Evalir merged commit 29436f8 into foundry-rs:master Aug 23, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants