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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user