Skip to content

Commit

Permalink
fix: small lin issues
Browse files Browse the repository at this point in the history
  • Loading branch information
WoozyMasta committed Jan 16, 2025
1 parent a7e15df commit 2ffc1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (c *Config) setupLogging() {
var useColors bool
if f, ok := writer.(*os.File); ok {
// fd is smallest numbers
useColors = term.IsTerminal(int(f.Fd())) // #nosec G103
useColors = term.IsTerminal(int(f.Fd())) // #nosec G115
} else {
useColors = false
}
Expand Down

0 comments on commit 2ffc1ea

Please sign in to comment.