Merge pull request 'Fix: `render_typed_variable` concat character is wrong' (#29) from fix/render_typed_variable-types-concat into master
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details

Reviewed-on: #29
This commit is contained in:
Aire-One 2022-10-31 11:30:13 +01:00
commit c8e621c4ec
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ function snippets.render_typed_variable(name: string, types: List<string>): stri
local tmpl_args = {
name = name,
types = types:concat(", "),
types = types:concat(" | "),
}
return utils.do_or_fail(template.substitute, tmpl, tmpl_args)