Skip to content

Commit

Permalink
clippy: return error in case of malformed input
Browse files Browse the repository at this point in the history
  • Loading branch information
pmatouse committed May 19, 2024
1 parent e8dd96f commit 4b85ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/convert-clippy.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def main():
item = json.loads(line)
except Exception as e:
print("rust-clippy: Error while converting results:", e, file=sys.stderr)
continue
sys.exit(1)

if item["reason"] != "compiler-message":
continue
Expand Down

0 comments on commit 4b85ab4

Please sign in to comment.