pull/1278/head
alpharush 2 years ago
parent 479835b40e
commit e170df0450
  1. 2
      scripts/ci_test.sh
  2. 2
      slither/utils/output.py

@ -41,7 +41,7 @@ test_slither(){
# run slither detector on input file and save output as json
slither "$1" --solc-disable-warnings --detect "$2" --legacy-ast --json "$DIR/tmp-test.json"
if [ $? -ne 0]
if [ $? -ne 0 ]
then
echo "Slither crashed"
exit 255

@ -375,7 +375,7 @@ class Output:
self.add(add)
if additional_fields:
self._data.additional_fields = additional_fields
self._data["additional_fields"] = additional_fields
def add(self, add: SupportedOutput, additional_fields: Optional[Dict] = None):
if not self._data["first_markdown_element"]:

Loading…
Cancel
Save