From 1d0eaf63d5e3933afd0483e8ee42194193b1d690 Mon Sep 17 00:00:00 2001 From: Ayooluwa Isaiah Date: Sat, 12 Oct 2024 09:16:37 +0100 Subject: [PATCH] fix panic when using csv with --verbose --- find/csv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find/csv.go b/find/csv.go index cadd4e5..bd73fee 100644 --- a/find/csv.go +++ b/find/csv.go @@ -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