Skip to content

Commit

Permalink
Merge pull request #1 from peakle/main
Browse files Browse the repository at this point in the history
defer in loop
  • Loading branch information
quasilyte committed Oct 26, 2021
2 parents e1af911 + 582fba0 commit 940d77e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
1 change: 1 addition & 0 deletions projects/packr/output.golden
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ exit status 1
./builder/builder_test.go:38:12: ioutilDeprecated: ioutil.ReadFile is deprecated, use os.ReadFile instead
./builder/builder_test.go:63:13: ioutilDeprecated: ioutil.ReadFile is deprecated, use os.ReadFile instead
./builder/builder_test.go:68:12: ioutilDeprecated: ioutil.ReadFile is deprecated, use os.ReadFile instead
./builder/builder.go:81:3: deferInLoop: Possible resource leak, 'defer' is called in the 'for' loop

0 comments on commit 940d77e

Please sign in to comment.