From caa8deb2af285bab843aefafce4a0cfc90e80e41 Mon Sep 17 00:00:00 2001 From: Alberto Carretero Date: Fri, 30 Aug 2024 14:14:45 +0200 Subject: [PATCH] move comment inside if statement --- internal/setup/setup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/setup/setup.go b/internal/setup/setup.go index aed5d15a..b4a79710 100644 --- a/internal/setup/setup.go +++ b/internal/setup/setup.go @@ -195,9 +195,9 @@ func (r *Release) validate() error { for oldPath, old := range globs { oldInfo := old.Contents[oldPath] for newPath, new := range paths { - // Identical paths have been filtered earlier. This must be the exact - // same entry. if oldPath == newPath { + // Identical paths have been filtered earlier. This must be the + // exact same entry. continue } newInfo := new.Contents[newPath]