Skip to content

Commit

Permalink
lint: add no lint directive to ioutil
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed Feb 25, 2021
1 parent c672573 commit 91d2fe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion simapp/simd/cmd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ func writeFile(name string, dir string, contents []byte) error {
return err
}

err = ioutil.WriteFile(file, contents, 0644)
err = ioutil.WriteFile(file, contents, 0644) // nolint
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion testutil/network/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func writeFile(name string, dir string, contents []byte) error {
return err
}

err = ioutil.WriteFile(file, contents, 0644)
err = ioutil.WriteFile(file, contents, 0644) // nolint
if err != nil {
return err
}
Expand Down

0 comments on commit 91d2fe4

Please sign in to comment.