Skip to content

Commit

Permalink
fix: close dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill authored Apr 17, 2024
1 parent b1e58a1 commit 3a62252
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/local/build/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func (d *Builder) Build(s *build.Source) (*build.Package, error) {
if err != nil {
return nil, err
}
defer f.Close()
// read docker file
by, err := io.ReadAll(f)
if err != nil {
Expand Down

0 comments on commit 3a62252

Please sign in to comment.