We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a30937e + 8760d30 commit 06e0362Copy full SHA for 06e0362
crytic_compile/platform/foundry.py
@@ -165,7 +165,7 @@ def is_dependency(self, path: str) -> bool:
165
"""
166
if path in self._cached_dependencies:
167
return self._cached_dependencies[path]
168
- ret = "lib" in Path(path).parts
+ ret = "lib" in Path(path).parts or "node_modules" in Path(path).parts
169
self._cached_dependencies[path] = ret
170
return ret
171
0 commit comments