Browse Source

Fix issue where function call within array was not executedD

master
Arsen Musayelyan 1 year ago
parent
commit
f7a34b3da4
  1. 2
      scpt.go

2
scpt.go

@ -151,7 +151,7 @@ func ParseValue(val *Value) (interface{}, error) {
// For each value in array
for _, value := range val.Array {
// Recursively parse value
iVal, err := ParseValue(value)
iVal, err := callIfFunc(ParseValue(value))
if err != nil {
return nil, err
}

Loading…
Cancel
Save