Minor update
This commit is contained in:
1 parent
2b4fc7138a
commit
f1c0bbe73c
1 file changed
+1
-1
+1
-1
@@ -172,7 +172,7 @@ func sanitizeAndResolve(list []string, result *Result) []string {
|
|||||||
result.Errors = append(result.Errors, err.Error())
|
result.Errors = append(result.Errors, err.Error())
|
||||||
}
|
}
|
||||||
if wantLength {
|
if wantLength {
|
||||||
element = fmt.Sprintf("len(%s) %s", element, InvalidConditionElementSuffix)
|
element = fmt.Sprintf("%s%s%s %s", LengthFunctionPrefix, element, FunctionSuffix, InvalidConditionElementSuffix)
|
||||||
} else {
|
} else {
|
||||||
element = fmt.Sprintf("%s %s", element, InvalidConditionElementSuffix)
|
element = fmt.Sprintf("%s %s", element, InvalidConditionElementSuffix)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user