From f1c0bbe73c8c90122be11ee3b4d831365ef222be Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Mon, 4 Jan 2021 18:00:36 -0500 Subject: [PATCH] Minor update --- core/condition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/condition.go b/core/condition.go index 65c744f8..7eb3276a 100644 --- a/core/condition.go +++ b/core/condition.go @@ -172,7 +172,7 @@ func sanitizeAndResolve(list []string, result *Result) []string { result.Errors = append(result.Errors, err.Error()) } if wantLength { - element = fmt.Sprintf("len(%s) %s", element, InvalidConditionElementSuffix) + element = fmt.Sprintf("%s%s%s %s", LengthFunctionPrefix, element, FunctionSuffix, InvalidConditionElementSuffix) } else { element = fmt.Sprintf("%s %s", element, InvalidConditionElementSuffix) }