You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests/test_node_modules/node_modules/@openzeppelin/contracts/utils/math/Math.sol analyzed (1 contracts with 61 detectors), 0 result(s) found
Traceback (most recent call last):
File "/home/lulu/r/crytic/slither/venv/bin/slither", line 33, in <module>
sys.exit(load_entry_point('slither-analyzer', 'console_scripts', 'slither')())
File "/home/lulu/r/crytic/slither/slither/__main__.py", line 643, in main
main_impl(all_detector_classes=detectors, all_printer_classes=printers)
File "/home/lulu/r/crytic/slither/slither/__main__.py", line 831, in main_impl
output_to_sarif(
File "/home/lulu/r/crytic/slither/slither/utils/output.py", line 163, in output_to_sarif
for detector in results["detectors"]:
KeyError: 'detectors'
The "detectors" key is missing because it's not added if empty:
Describe the issue:
Running for example
Leads to a crash
The
"detectors"
key is missing because it's not added if empty:slither/slither/__main__.py
Lines 769 to 770 in 168e962
Code example to reproduce the issue:
Version:
0.8.3
or fba37f2Relevant log output:
No response
The text was updated successfully, but these errors were encountered: