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.
1 parent 9cfa803 commit 2319634Copy full SHA for 2319634
crytic_compile/platform/hardhat.py
@@ -216,8 +216,10 @@ def is_supported(target: str, **kwargs: str) -> bool:
216
if os.path.isfile(os.path.join(target, "foundry.toml")):
217
return False
218
219
- return os.path.isfile(os.path.join(target, "hardhat.config.js")) | os.path.isfile(
220
- os.path.join(target, "hardhat.config.ts")
+ return (
+ os.path.isfile(os.path.join(target, "hardhat.config.js"))
221
+ or os.path.isfile(os.path.join(target, "hardhat.config.ts"))
222
+ or os.path.isfile(os.path.join(target, "hardhat.config.cjs"))
223
)
224
225
def is_dependency(self, path: str) -> bool:
0 commit comments