Skip to content

Commit bddaa02

Browse files
authored
Tweak resyntax fix JSON output (#678)
1 parent d4d6b63 commit bddaa02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli.rkt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ For help on these, use 'analyze --help' or 'fix --help'."
367367
(define file-string (if (> total-files 1) "files" "file"))
368368
(if (zero? total-fixes)
369369
(printf "Resyntax found no issues.")
370-
(printf "Automated Resyntax fixes\n\nResyntax fixed ~a ~a in ~a ~a."
370+
(printf "Resyntax fixed ~a ~a in ~a ~a."
371371
total-fixes issue-string total-files file-string))
372372
(unless (zero? total-fixes)
373373
(printf "\n")
@@ -378,7 +378,7 @@ For help on these, use 'analyze --help' or 'fix --help'."
378378

379379
;; Output JSON
380380
(write-json
381-
(hasheq 'commit_message commit-message
381+
(hasheq 'commit_message_body commit-message
382382
'fix_count total-fixes))
383383
(newline))
384384

0 commit comments

Comments
 (0)