Skip to content

Commit

Permalink
Improve recipe validation
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Nov 1, 2023
1 parent c0c3350 commit 364995d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/executor/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ func checkDependencies(r *recipe.Recipe) []error {
}

if !hasBinary(binCache, binary) {
errs = append(errs, fmt.Errorf("Action %q requires %q binary"))
errs = append(errs, fmt.Errorf(
"Line %d: Action %q requires %q binary", a.Line, a.Name, binary,
))
}
}
}
Expand Down

0 comments on commit 364995d

Please sign in to comment.