1
0
mirror of https://github.com/securego/gosec.git synced 2025-11-25 22:22:17 +02:00

Fix typos, Go Report link and Gofmt

This commit is contained in:
Matthieu MOREL
2021-05-07 18:04:01 +02:00
committed by GitHub
parent f4ea33d5f8
commit 4df7f1c3e9
6 changed files with 14 additions and 14 deletions

View File

@@ -61,7 +61,7 @@ func (r *subprocess) Match(n ast.Node, c *gosec.Context) (*gosec.Issue, error) {
}
// isContext checks whether or not the node is a CommandContext call or not
// Thi is requried in order to skip the first argument from the check.
// Thi is required in order to skip the first argument from the check.
func (r *subprocess) isContext(n ast.Node, ctx *gosec.Context) bool {
selector, indent, err := gosec.GetCallInfo(n, ctx)
if err != nil {