Fix issue where function call within array was not executedD
This commit is contained in:
parent
53e0717b91
commit
f7a34b3da4
2
scpt.go
2
scpt.go
@ -151,7 +151,7 @@ func ParseValue(val *Value) (interface{}, error) {
|
|||||||
// For each value in array
|
// For each value in array
|
||||||
for _, value := range val.Array {
|
for _, value := range val.Array {
|
||||||
// Recursively parse value
|
// Recursively parse value
|
||||||
iVal, err := ParseValue(value)
|
iVal, err := callIfFunc(ParseValue(value))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user