From b7b705b44ab09f4eb7a1ed411b7dc844cada97ba Mon Sep 17 00:00:00 2001 From: Ayooluwa Isaiah Date: Sat, 31 Aug 2024 23:14:45 +0100 Subject: [PATCH] fix false positive in trailing period conflict --- validate/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/validate.go b/validate/validate.go index 1539bd2..533102d 100644 --- a/validate/validate.go +++ b/validate/validate.go @@ -252,7 +252,7 @@ func checkTrailingPeriodConflictInWindows( ) (conflictDetected bool) { if runtime.GOOS == osutil.Windows { pathComponents := strings.Split( - ctx.change.Target, + ctx.change.TargetPath, string(os.PathSeparator), )