mirror of
https://github.com/go-task/task.git
synced 2026-06-25 21:56:16 +00:00
feat: support multiple experiment values
This commit is contained in:
@@ -80,7 +80,7 @@ type Var struct {
|
||||
}
|
||||
|
||||
func (v *Var) UnmarshalYAML(node *yaml.Node) error {
|
||||
if experiments.AnyVariables {
|
||||
if experiments.AnyVariables.Enabled {
|
||||
var value any
|
||||
if err := node.Decode(&value); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user