Skip to content

Commit

Permalink
close file
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn authored and sdboyer committed Jan 24, 2017
1 parent fa51a9f commit 235086a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ func (a analyzer) DeriveManifestAndLock(path string, n gps.ProjectRoot) (gps.Man
if err != nil {
return nil, nil, nil
}
defer f.Close()

m, err := readManifest(f)
if err != nil {
return nil, nil, err
Expand Down

0 comments on commit 235086a

Please sign in to comment.