issue-2: fixed trim function
All checks were successful
Test / build (push) Successful in 46s

This commit is contained in:
Leon Mika 2024-10-21 20:59:37 +11:00
parent 03f17af97d
commit 504106b5ef

View file

@ -41,5 +41,5 @@ func trim(ctx context.Context, args ucl.CallArgs) (any, error) {
return nil, err
}
return strings.ToLower(s), nil
return strings.TrimSpace(s), nil
}