Skip to content

Fix example variables using - in their name#635

Merged
fdncred merged 2 commits intonushell:mainfrom
holly-hacker:fix-invalid-variable-names
Oct 13, 2022
Merged

Fix example variables using - in their name#635
fdncred merged 2 commits intonushell:mainfrom
holly-hacker:fix-invalid-variable-names

Conversation

@holly-hacker
Copy link
Copy Markdown
Contributor

This PR fixes examples using the - character in their name, which does not seem to be valid in nu 0.69.1.

I found these occurences with the regexes let \w+- and \$\w+-, so it's possible I missed something.

@fdncred
Copy link
Copy Markdown
Contributor

fdncred commented Oct 13, 2022

It all looks good except the one comment I made. If you remove that one, and perhaps fix it in the nushell code, we can land this PR.

@fdncred fdncred merged commit 778607e into nushell:main Oct 13, 2022
@holly-hacker holly-hacker deleted the fix-invalid-variable-names branch October 13, 2022 17:33
ayax79 pushed a commit to ayax79/nushell.github.io that referenced this pull request Jun 26, 2024
…#635)

related to
- nushell/nushell#10456
- nushell#1071

## description
after the changes on boolean switches from
nushell/nushell#10456, we need to not annotate
then with `: bool` when part of a public API.

this PR is required for
nushell#1071 to move forward.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants