1
0
mirror of https://github.com/go-task/task.git synced 2025-06-23 00:38:19 +02:00

fix Taskvars.yml vars not available while interpolating vars prop

closes #40
This commit is contained in:
Andrey Nering
2017-07-15 14:40:58 -03:00
parent ac7ab42d94
commit 5ece1d74f6
4 changed files with 6 additions and 1 deletions

View File

@ -98,7 +98,7 @@ func (e *Executor) Run(args ...string) error {
}
for _, a := range args {
if err := e.RunTask(context.Background(), Call{Task: a}); err != nil {
if err := e.RunTask(context.Background(), Call{Task: a, Vars: e.taskvars}); err != nil {
return err
}
}