completed list-type to array-type conversion and fixed common test module
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ func evalInclude(ctx kern.ExprContext, opTerm *scan.Term) (v any, err error) {
|
||||
}
|
||||
|
||||
count := 0
|
||||
if array.IsList(childValue) {
|
||||
if array.IsArray(childValue) {
|
||||
a, _ := childValue.(*array.ArrayType)
|
||||
for i, filePathSpec := range *a {
|
||||
if filePath, ok := filePathSpec.(string); ok {
|
||||
|
||||
Reference in New Issue
Block a user