mirror of
https://github.com/go-task/task.git
synced 2025-05-27 23:08:16 +02:00
parent
0162c2990e
commit
b9820c5c7d
5
task.go
5
task.go
@ -102,7 +102,10 @@ func RunTask(name string) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
vars := t.handleVariables()
|
vars, err := t.handleVariables()
|
||||||
|
if err != nil {
|
||||||
|
return &taskRunError{name, err}
|
||||||
|
}
|
||||||
|
|
||||||
for _, d := range t.Deps {
|
for _, d := range t.Deps {
|
||||||
if err := RunTask(ReplaceVariables(d, vars)); err != nil {
|
if err := RunTask(ReplaceVariables(d, vars)); err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user