Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/fnmPublic

Warning that a version is already installed is logged as error #1461

Open
@bjoernahrens

Description

@bjoernahrens

The log message is logged with the prefix "warning", but on theError level.
As it does not fail or lead to any failures down the line, IMO it should not be logged as an error.

It is implemented here:

Err(err @DownloaderError::VersionAlreadyInstalled{ ..}) =>{
outln!(config,Error,"{} {}","warning:".bold().yellow(), err);
}

An alternative would be to add an option to the install command to disable this error being logged, e.g.:

fnm install --lts --no-error-if-already-installed

(Perhaps a bit less verbose)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp