Merge branch 'dev' of github.com:crytic/slither into issue-1029

pull/1046/head
Jaime 3 years ago
commit f4df89bf80
  1. 2
      slither/tools/properties/properties/erc20.py

@ -163,7 +163,7 @@ def _initialization_recommendation(type_property: str) -> str:
# TODO: move this to crytic-compile
def _platform_to_output_dir(platform: AbstractPlatform) -> Path:
if platform.TYPE == PlatformType.TRUFFLE or platform.TYPE == PlatformType.BUILDER:
if platform.TYPE in [PlatformType.TRUFFLE, platform.TYPE == PlatformType.BUILDER]:
return Path(platform.target, "contracts", "crytic")
if platform.TYPE == PlatformType.SOLC:
return Path(platform.target).parent

Loading…
Cancel
Save