Skip to content

Commit

Permalink
fix: close pom.xml (#6507)
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
  • Loading branch information
testwill committed Apr 17, 2024
1 parent 46d5aba commit a986199
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/dependency/parser/java/pom/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ func (p *parser) openPom(filePath string) (*pom, error) {
if err != nil {
return nil, xerrors.Errorf("file open error (%s): %w", filePath, err)
}
defer f.Close()

content, err := parsePom(f)
if err != nil {
Expand Down

0 comments on commit a986199

Please sign in to comment.