We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4955da7 commit 285460dCopy full SHA for 285460d
command.go
@@ -752,7 +752,9 @@ func (c *Command) findNext(next string) *Command {
752
}
753
754
if len(matches) == 1 {
755
- return matches[0]
+ // Temporarily disable gosec G602, which produces a false positive.
756
+ // See https://github.com/securego/gosec/issues/1005.
757
+ return matches[0] // #nosec G602
758
759
760
return nil
0 commit comments