mirror of
https://github.com/go-task/task.git
synced 2025-06-25 00:47:04 +02:00
better error output for dynamic variables in Taskvars.yml
This commit is contained in:
@ -41,7 +41,7 @@ func (e *Executor) handleDynamicVariableContent(value string) (string, error) {
|
||||
Stderr: e.Stderr,
|
||||
}
|
||||
if err := execext.RunCommand(opts); err != nil {
|
||||
return "", err
|
||||
return "", &dynamicVarError{cause: err, cmd: opts.Command}
|
||||
}
|
||||
|
||||
result := buff.String()
|
||||
|
Reference in New Issue
Block a user