0xKitsune / solstat

A Solidity static analyzer to identify contract vulnerabilities and gas efficiencies.
426 stars 36 forks source link

Provide flag to fail execution in case of found issues #88

Open 0xmichalis opened 1 year ago

0xmichalis commented 1 year ago

It would be nice to provide a boolean CLI flag that when used, a non-zero code is returned in case any findings are reported. Such a feature would be useful in combination with logging the findings in stdout instead of writing to a file (probably needs a separate Github issue), then it should be relatively easy to set up a solstat CI workflow.