Skip to content

Commit

Permalink
chore: return error instead
Browse files Browse the repository at this point in the history
  • Loading branch information
raulb committed Mar 30, 2022
1 parent 523e460 commit e8c3758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/meroxa/root/apps/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ func (d *Deploy) uploadSource(ctx context.Context, appPath, url string) error {
}(fileToWrite)

if err != nil {
panic(err)
return err
}
if _, err = io.Copy(fileToWrite, &buf); err != nil {
panic(err)
return err
}

// We clean up Dockerfile as last step
Expand Down

0 comments on commit e8c3758

Please sign in to comment.