Skip to content

Commit a3aa2b3

Browse files
committed
Fix a bug in GitHub review integration
Missed this when I implemented multipass analysis.
1 parent 2ae6fc3 commit a3aa2b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ For help on these, use 'analyze --help' or 'fix --help'."
257257
(string-indent (~a old-code) #:amount 2)
258258
(string-indent (~a new-code) #:amount 2)))]
259259
[(== github-pull-request-review)
260-
(define req (refactoring-results->github-review results #:file-count (length sources)))
260+
(define req (refactoring-results->github-review results #:file-count (hash-count sources)))
261261
(write-json (github-review-request-jsexpr req))]))
262262

263263
(match (resyntax-analyze-options-output-destination options)

0 commit comments

Comments
 (0)