mirror of
https://github.com/securego/gosec.git
synced 2025-04-15 11:46:53 +02:00
fix gofmt errors
This commit is contained in:
parent
15095a8bef
commit
66aea5cd99
@ -31,7 +31,6 @@ func (r *readfile) ID() string {
|
|||||||
return r.MetaData.ID
|
return r.MetaData.ID
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Match inspects AST nodes to determine if the match the methods `os.Open` or `ioutil.ReadFile`
|
// Match inspects AST nodes to determine if the match the methods `os.Open` or `ioutil.ReadFile`
|
||||||
func (r *readfile) Match(n ast.Node, c *gas.Context) (*gas.Issue, error) {
|
func (r *readfile) Match(n ast.Node, c *gas.Context) (*gas.Issue, error) {
|
||||||
if node := r.ContainsCallExpr(n, c); node != nil {
|
if node := r.ContainsCallExpr(n, c); node != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user