fix triage prompt not displaying

pull/1435/head
alpharush 2 years ago committed by GitHub
parent 463df49c67
commit 65ff5894c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/detectors/abstract_detector.py

@ -189,7 +189,7 @@ class AbstractDetector(metaclass=abc.ABCMeta):
if results and self.slither.triage_mode: if results and self.slither.triage_mode:
while True: while True:
indexes = input( indexes = input(
f'Results to hide during next runs: "0,1,...,{len(results)}" or "All" (enter to not hide results): ' f'Results to hide during next runs: "0,1,...,{len(results)}" or "All" (enter to not hide results):\n'
) )
if indexes == "All": if indexes == "All":
self.slither.save_results_to_hide(results) self.slither.save_results_to_hide(results)

Loading…
Cancel
Save