Skip to content

Commit

Permalink
Add missing conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartkats-db committed Sep 11, 2024
1 parent 01c381f commit b92f1e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/bundle/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ task or a Python wheel task, the second example applies.
terraform.StatePull(),
terraform.Load(terraform.ErrorOnEmptyState),
))
return diags.Error()
if err := diags.Error(); err != nil {
return err
}

runner, err := run.Find(b, args[0])
if err != nil {
Expand Down

0 comments on commit b92f1e8

Please sign in to comment.