pull/1278/head
Josselin Feist 2 years ago
parent a5b326f37d
commit 475de74d9b
  1. 2
      slither/__main__.py

@ -887,7 +887,7 @@ def main_impl(
result["impact"] in ["Low", "Medium", "High"] for result in results_detectors result["impact"] in ["Low", "Medium", "High"] for result in results_detectors
) )
elif args.fail_pedantic: elif args.fail_pedantic:
fail_on_detection = bool(len(results_detectors)) fail_on_detection = bool(results_detectors)
else: else:
fail_on_detection = False fail_on_detection = False

Loading…
Cancel
Save