Skip to content

Commit

Permalink
Bump golangci-lint to version 1.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed May 11, 2020
1 parent ed6dc6d commit f8a2bc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GOLANGCI_LINT_VERSION=1.25.0
GOLANGCI_LINT_VERSION=1.26.0

.PHONY: default
default: generate run test lint format
Expand Down
1 change: 1 addition & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func edit(ts *testscript.TestScript, neg bool, args []string) {
ts.Fatalf("edit: %v", err)
}
data = append(data, []byte("# edited\n")...)
//nolint:gosec
if err := ioutil.WriteFile(filename, data, 0o666); err != nil {
ts.Fatalf("edit: %v", err)
}
Expand Down

0 comments on commit f8a2bc7

Please sign in to comment.