Skip to content
Myr

command: temporarily disable G602 due to securego/gosec#1005 (#2022)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Unai Martinez-Corral · committed by GitHub · parent 4955da7 · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:command.go+3 added-1 removed
750 unmodified lines
751 }752 }753754 if len(matches) == 1 {755 // Temporarily disable gosec G602, which produces a false positive.756 // See https://github.com/securego/gosec/issues/1005.755 return matches[0]757 return matches[0] // #nosec G602758 }759760 return nil761}
1075 unmodified lines