Skip to content

Commit

Permalink
Rewrote code based on linter hint, more idiomatic Go
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbn committed Feb 5, 2023
1 parent f1f5d14 commit baeed21
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,7 @@ func realMain() int {
}

if colorOutputInverted {
tmpColor := ignoredColor
ignoredColor = includedColor
includedColor = tmpColor
ignoredColor, includedColor = includedColor, ignoredColor
}

var err error
Expand Down

0 comments on commit baeed21

Please sign in to comment.