You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see above, I'd like to convert in case someone uses that function passes numbers or string representation of the versions in the versions list.
Though when running that simple code I get the error below:
Invalid expression; function "list" does not exist: undefined
I've tried with more simple types and get the same error (e.g. convert("true", bool))
I would have expected that to work given the bake Reference states:
Not sure whether that's a problem with me or a bug but here is what I'm trying to do:
I wrote a function in my bake file to compute a list of target based on an env var:
As you can see above, I'd like to convert in case someone uses that function passes numbers or string representation of the versions in the
versions
list.Though when running that simple code I get the error below:
I've tried with more simple types and get the same error (e.g.
convert("true", bool)
)I would have expected that to work given the bake Reference states:
The text was updated successfully, but these errors were encountered: