From 364995ddbf211ec1a2991b1a483a37e86aabbb98 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Wed, 1 Nov 2023 18:28:26 +0300 Subject: [PATCH] Improve recipe validation --- cli/executor/validators.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/executor/validators.go b/cli/executor/validators.go index dad8c610..25f5b0ca 100644 --- a/cli/executor/validators.go +++ b/cli/executor/validators.go @@ -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, + )) } } }