Update cli.ts
by default, `npm i -g (already installed package)` only installs new patches, not minors or majors.
This commit is contained in:
parent
71def367e8
commit
8475941d47
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ void (async () => {
|
||||||
if (!isNpx()) {
|
if (!isNpx()) {
|
||||||
const { installed, latest, isLatest } = await getVerInfo()
|
const { installed, latest, isLatest } = await getVerInfo()
|
||||||
if (!isLatest) {
|
if (!isLatest) {
|
||||||
console.log(chalk.yellowBright(`\nYour installed version (${installed}) of the musescore-downloader CLI is not the latest one (${latest})!\nRun npm i -g musescore-downloader to update.`))
|
console.log(chalk.yellowBright(`\nYour installed version (${installed}) of the musescore-downloader CLI is not the latest one (${latest})!\nRun npm i -g musescore-downloader@${latest} to update.`))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
|
|
Loading…
Reference in a new issue