From 284cf97ce88ed16a87b9a6cb5bdf47932c27d9ff Mon Sep 17 00:00:00 2001 From: Akshit Garg <107033189+akshit-deepsource@users.noreply.github.com> Date: Mon, 28 Aug 2023 16:01:30 +0530 Subject: [PATCH] Fix golden file bug (#26) Signed-off-by: Akshit Garg --- runner/backup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/backup.go b/runner/backup.go index b80ac24..acb7d0b 100644 --- a/runner/backup.go +++ b/runner/backup.go @@ -89,7 +89,7 @@ func NewAutofixBackup( } for _, match := range matches { - normalized, err := normalizeFilePath(filepath.Join(config.CodePath, match)) + normalized, err := normalizeFilePath(match) if err != nil { log.Println("Error normalizing the file path for", match, "err:", err) continue