Skip to content

replace str downcase for str lowercase#1270

Merged
fdncred merged 1 commit into
nushell:mainfrom
AucaCoyan:update-downcase-for-lowercase
Jul 18, 2026
Merged

replace str downcase for str lowercase#1270
fdncred merged 1 commit into
nushell:mainfrom
AucaCoyan:update-downcase-for-lowercase

Conversation

@AucaCoyan

Copy link
Copy Markdown
Contributor

nu 114 raises:

Warning: nu::parser::deprecated

  ⚠ Command deprecated.
     ╭─[/home/aucac/other-repos/nu/nu_scripts/modules/fnm/fnm.nu:105:35]
 104 │                     let answer = (input "Install it? [y/N] ")
 105 │                     if ($answer | str downcase) == "y" {
     ·                                   ──────┬─────
     ·                                         ╰── str downcase was deprecated in 0.114.0 and will be removed in a future release.
 106 │                         let install_res = (do { ^fnm install ...$fnm_config.install_flags } | complete)
     ╰────
  help: Use `str lowercase` instead.

So this PR replaces all str downcase for str lowercase

@fdncred
fdncred merged commit 8311fa4 into nushell:main Jul 18, 2026
1 check passed
@fdncred

fdncred commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Thanks

@AucaCoyan
AucaCoyan deleted the update-downcase-for-lowercase branch July 18, 2026 22:23
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