fix gofmt errors

This commit is contained in:
Grant Murphy 2018-03-09 12:49:01 +10:00
parent 15095a8bef
commit 66aea5cd99
2 changed files with 4 additions and 5 deletions

View file

@ -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 {