From a3aa2b3933e5783c1519df59a85a28601f27c3fe Mon Sep 17 00:00:00 2001 From: Jack Firth Date: Tue, 19 Nov 2024 18:42:11 -0800 Subject: [PATCH] Fix a bug in GitHub review integration Missed this when I implemented multipass analysis. --- cli.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.rkt b/cli.rkt index 5d16738c..d95d4483 100644 --- a/cli.rkt +++ b/cli.rkt @@ -257,7 +257,7 @@ For help on these, use 'analyze --help' or 'fix --help'." (string-indent (~a old-code) #:amount 2) (string-indent (~a new-code) #:amount 2)))] [(== github-pull-request-review) - (define req (refactoring-results->github-review results #:file-count (length sources))) + (define req (refactoring-results->github-review results #:file-count (hash-count sources))) (write-json (github-review-request-jsexpr req))])) (match (resyntax-analyze-options-output-destination options)