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
For whatever reason, when building a list/array, and the string put there has a key=value, it gives an error.
key=value
Only seem to have if there is no space. Same with =number/letter.
nu ✗ let list = ["VAR=1"] Error: nu::parser::unknown_command × Unknown command. ╭─[entry #25:1:12] 1 │ let list = ["VAR=1"] · ────┬──── · ╰── unknown command ╰────
You can straight type let list = ["VAR=1"] or put into a file.
let list = ["VAR=1"]
To just be a string, even more so when in between quotes.
The text was updated successfully, but these errors were encountered:
Seems like a bug buy here's a work-around. Use spaces around items in your list.
❯ let list = [ "VAR=1" ] ❯ $list ╭───┬───────╮ │ 0 │ VAR=1 │ ╰───┴───────╯
Sorry, something went wrong.
Yeah, that seems to be the case with a comment too. But only if there is a space in the comment.
let list = [ # "VAR1=1", "VAR2=2", "VAR3=3", ]
No branches or pull requests
Describe the bug
For whatever reason, when building a list/array, and the string put there has a
key=value
, it gives an error.Only seem to have if there is no space. Same with =number/letter.
How to reproduce
You can straight type
let list = ["VAR=1"]
or put into a file.Expected behavior
To just be a string, even more so when in between quotes.
Configuration
The text was updated successfully, but these errors were encountered: