Skip to content

Commit

Permalink
fix panic when using csv with --verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoisaiah committed Oct 12, 2024
1 parent 9f6104b commit 1d0eaf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion find/csv.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func handleCSV(conf *config.Config) (file.Changes, error) {
// Skip missing source files
if errors.Is(statErr, os.ErrNotExist) {
if conf.Verbose {
report.NonExistentFile(fileInfo.Name(), i+1)
report.NonExistentFile(source, i+1)
}

continue
Expand Down

0 comments on commit 1d0eaf6

Please sign in to comment.