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

Scribble does not like the at import file path notation #271

Open
0xtr3 opened this issue Jun 15, 2024 · 1 comment
Open

Scribble does not like the at import file path notation #271

0xtr3 opened this issue Jun 15, 2024 · 1 comment

Comments

@0xtr3
Copy link

0xtr3 commented Jun 15, 2024

When I run scribble in terminal on a solidity file with this sort of import path I get an error: import {ISizeAdmin} from "@src/interfaces/ISizeAdmin.sol";

The error is Couldn't find @src/interfaces/ISizeAdmin.sol.

But If I change the path to a full path I do not get an error.

How do I resolve this as it is major overhaul to write full file path?

@cd1m0
Copy link
Collaborator

cd1m0 commented Jun 24, 2024

Hi! It should be able to pick those up. Is the '@src' directory located under node_modules/? Can you please describe the directory structure, and the command that you used?

Thank you!

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

No branches or pull requests

2 participants