Skip to content

Commit

Permalink
fix: close schema file
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill authored Apr 26, 2024
1 parent 9cbff9c commit 2f5ab0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/common/schema/setuptask.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func (task *SetupTask) Run() error {
if err != nil {
return err
}
defer file.Close()
stmts, err := ParseFile(file)
if err != nil {
return err
Expand Down

0 comments on commit 2f5ab0a

Please sign in to comment.