From 2684aaef8543656eb87e410e395c4d5a8d123b50 Mon Sep 17 00:00:00 2001 From: sawka Date: Mon, 19 Dec 2022 17:39:19 -0800 Subject: [PATCH] change fn prefix that mshell uses to mshell --- pkg/cmdrunner/shparse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmdrunner/shparse.go b/pkg/cmdrunner/shparse.go index 8ffe08f2f..f6dfbabe5 100644 --- a/pkg/cmdrunner/shparse.go +++ b/pkg/cmdrunner/shparse.go @@ -346,7 +346,7 @@ func ParseFuncs(funcs string) (map[string]string, error) { // TODO where to put parse errors continue } - if strings.HasPrefix(funcName, "_scripthaus_") { + if strings.HasPrefix(funcName, "_mshell_") { continue } if funcName != "" {