Skip to content

Commit 0772c19

Browse files
authored
Fix a bug in resyntax fix usage of new analysis API (#382)
1 parent 52d9fef commit 0772c19

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
@@ -380,7 +380,7 @@ For help on these, use 'analyze --help' or 'fix --help'."
380380
(mapping (filter-file-portion _ lines-to-analyze-by-file))
381381
(append-mapping
382382
(λ (portion)
383-
(resyntax-analyze (file-portion-path portion)
383+
(resyntax-analyze (file-source (file-portion-path portion))
384384
#:suite (resyntax-fix-options-suite options)
385385
#:lines (file-portion-lines portion))))
386386
(limiting max-modified-lines

0 commit comments

Comments
 (0)