Skip to content

Commit

Permalink
Add detection for .waffle.json (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nat Chin authored Jul 9, 2021
1 parent 8f27304 commit f7db905
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crytic_compile/platform/waffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ def is_supported(target: str, **kwargs: str) -> bool:
):
return False

if os.path.isfile(os.path.join(target, "waffle.json")):
if os.path.isfile(os.path.join(target, "waffle.json")) or os.path.isfile(
os.path.join(target, ".waffle.json")
):
return True

if os.path.isfile(os.path.join(target, "package.json")):
Expand Down

0 comments on commit f7db905

Please sign in to comment.