The name of 'list' has been changed to 'array'; from now on, 'list' will refer to the linked list.
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ func evalInclude(ctx kern.ExprContext, opTerm *scan.Term) (v any, err error) {
|
||||
|
||||
count := 0
|
||||
if array.IsList(childValue) {
|
||||
a, _ := childValue.(*array.ListType)
|
||||
a, _ := childValue.(*array.ArrayType)
|
||||
for i, filePathSpec := range *a {
|
||||
if filePath, ok := filePathSpec.(string); ok {
|
||||
if v, err = EvalFile(ctx, filePath); err == nil {
|
||||
|
||||
Reference in New Issue
Block a user