Skip to content

Use of Depracated Command str downcase #132

Description

@neurolag

nupm uses an outdated commant str downcase.
This is reported each time nupm is used for the first time in the session:

Warning: nu::parser::deprecated

  ⚠ Command deprecated.
    ╭─[nupm/nupm/utils/dirs.nu:65:22]
 64 │
 65 │     while ($answer | str downcase) not-in [ y n ] {
    ·                      ──────┬─────
    ·                            ╰── str downcase was deprecated in 0.114.0 and will be removed in a future release.
 66 │         $answer = (input (
    ╰────
  help: Use `str lowercase` instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions