Skip to content

Commit 16da300

Browse files
authored
Merge pull request #663 from atc0005/fix-copyloopvar-linting-errors
Fix `copyloopvar` linting errors
2 parents 58a0980 + 6f5f874 commit 16da300

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

internal/config/config.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,10 @@ func (tus *targetURLsStringFlag) String() string {
252252
//
253253
// As a workaround, we create a new variable for each iteration to
254254
// work around potential issues with Go versions prior to Go 1.22.
255-
target := target
255+
//
256+
// NOTE: Not needed as of Go 1.22.
257+
//
258+
// target := target
256259

257260
fmt.Fprintf(
258261
&output,

0 commit comments

Comments
 (0)