Skip to content

Commit

Permalink
fix: close dockerfile (#2703)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill authored Apr 17, 2024
1 parent b1e58a1 commit 186b835
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 186b835

Please sign in to comment.