Skip to content

Commit

Permalink
tools/check: close junit file (#52149)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill committed Mar 28, 2024
1 parent 8bca3dd commit 9241078
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/check/ut.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ func cmdRun(args ...string) bool {
fmt.Println("create junit file fail:", err)
return false
}
defer f.Close()
if err := write(f, out); err != nil {
fmt.Println("write junit file error:", err)
return false
Expand Down

0 comments on commit 9241078

Please sign in to comment.