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
with k6 run --include-system-env-vars=false --env key="val1,val2" script.js will result in {"key":"val1","val2":""} being printed...
It seems like the pflag.StringSliceP() function is trying to be helpful and split the values when there's a comma and we should use the StringArrayP(), which doesn't do that.
The text was updated successfully, but these errors were encountered:
Running the following script:
with
k6 run --include-system-env-vars=false --env key="val1,val2" script.js
will result in{"key":"val1","val2":""}
being printed...It seems like the
pflag.StringSliceP()
function is trying to be helpful and split the values when there's a comma and we should use theStringArrayP()
, which doesn't do that.The text was updated successfully, but these errors were encountered: