Skip to content

Commit

Permalink
remove json.load
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahannali committed Dec 19, 2024
1 parent ddaa12e commit a1ffcf2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

import json
# import json
import os
# import cattrs
# import sarif_om as om
Expand Down Expand Up @@ -36,11 +36,11 @@ def run_linters():
)

with open(save_file, "r") as file:
with open("response.txt", "w") as file:
with open("output.txt", "w") as file:
file.write(commit_hash)
file.write("\n")
file.write(repo_name)
file.write(json.load(save_file))
file.write(save_file)
# data = {
# "repo_name": repo_name,
# "commit_hash": commit_hash,
Expand Down

0 comments on commit a1ffcf2

Please sign in to comment.