diff --git a/internal/parsers/clang_tidy/parser.go b/internal/parsers/clang_tidy/parser.go index bdf8f52..2a22154 100644 --- a/internal/parsers/clang_tidy/parser.go +++ b/internal/parsers/clang_tidy/parser.go @@ -1,8 +1,6 @@ package clang_tidy import ( - "encoding/json" - "os" "strings" "focs.ji.sjtu.edu.cn/git/FOCS-dev/JOJ3/internal/stage" @@ -28,15 +26,6 @@ func Parse(executorResult stage.ExecutorResult, conf Conf) stage.ParserResult { messages := parse_lines(lines, conf) formatted_messages := format(messages) - // TODO: Handle the json file (parse into markdown and delete it?) - json_file, _ := os.Create("./clangtidy_result.json") - defer json_file.Close() - - encoder := json.NewEncoder(json_file) - encoder.SetEscapeHTML(false) - encoder.SetIndent("", " ") - _ = encoder.Encode(formatted_messages) - // TODO: Handle unexpected errors from executor // if executorResult.Status != stage.Status(envexec.StatusAccepted) { // return stage.ParserResult{