mirror of
https://github.com/go-task/task.git
synced 2025-07-03 00:57:02 +02:00
refactor: join task and vars parameters in a single Call struct
This commit is contained in:
@ -66,3 +66,9 @@ func (d *Dep) UnmarshalYAML(unmarshal func(interface{}) error) error {
|
||||
}
|
||||
return ErrCantUnmarshalDep
|
||||
}
|
||||
|
||||
// Call is the parameters to a task call
|
||||
type Call struct {
|
||||
Task string
|
||||
Vars Vars
|
||||
}
|
||||
|
Reference in New Issue
Block a user