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), )