From cff21b40f78c17f8164911a65a49f6bff1801246 Mon Sep 17 00:00:00 2001 From: Celestino Amoroso Date: Sun, 2 Jun 2024 11:54:43 +0200 Subject: [PATCH] typeFilepath changed --- func-import.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/func-import.go b/func-import.go index 3548d39..bc82540 100644 --- a/func-import.go +++ b/func-import.go @@ -138,10 +138,10 @@ func doImport(ctx ExprContext, name string, dirList []string, it Iterator) (resu func ImportImportFuncs(ctx ExprContext) { ctx.RegisterFunc("import", newGolangFunctor(importFunc), typeAny, []ExprFuncParam{ - newFuncParamFlag(typeFilepath, pfRepeat), + newFuncParamFlag(paramFilepath, pfRepeat), }) ctx.RegisterFunc("importAll", newGolangFunctor(importAllFunc), typeAny, []ExprFuncParam{ - newFuncParamFlag(typeFilepath, pfRepeat), + newFuncParamFlag(paramFilepath, pfRepeat), }) }