- Notifications
You must be signed in to change notification settings - Fork588
Open
Description
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:
Lines 154 to 156 in1ebc90d
| 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
Labels
No labels