1
0
mirror of https://github.com/go-task/task.git synced 2025-12-01 22:52:02 +02:00

Add CHANGELOG, documentation and small improvements to #626

This commit is contained in:
Andrey Nering
2022-01-04 16:56:13 -03:00
parent fd9132c15d
commit d6c185580a
4 changed files with 45 additions and 6 deletions

View File

@@ -43,10 +43,7 @@ func (c *Cmd) UnmarshalYAML(unmarshal func(interface{}) error) error {
return nil
}
var deferredCall struct {
Defer struct {
Task string
Vars *Vars
}
Defer Call
}
if err := unmarshal(&deferredCall); err == nil && deferredCall.Defer.Task != "" {
c.Defer = true