We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom helper: {{assignVar "foo" (concat "b" "ar")}} results in error: assignVar helper value must be a string or a number (integer)
{{assignVar "foo" (concat "b" "ar")}}
assignVar helper value must be a string or a number (integer)
standard helper: {{trim (concat "b" "ar")}} fails to default "" empty string
{{trim (concat "b" "ar")}}
""
The text was updated successfully, but these errors were encountered:
It appears that there is a workaround with using the get helper like this: {{get 'string' (concat "b" "ar")}} results in "bar"
get
{{get 'string' (concat "b" "ar")}}
"bar"
...
{{assignVar "foo" (get 'string' (concat "b" "ar"))}} does result in var foo="bar"
{{assignVar "foo" (get 'string' (concat "b" "ar"))}}
var foo="bar"
Sorry, something went wrong.
No branches or pull requests
custom helper:
{{assignVar "foo" (concat "b" "ar")}}
results in error:assignVar helper value must be a string or a number (integer)
standard helper:
{{trim (concat "b" "ar")}}
fails to default""
empty stringThe text was updated successfully, but these errors were encountered: