Merge pull request #113 from RubenVerg/patch-2
Update cli.ts By default, `npm i -g (already installed package)` only installs new patches, not minors or majors.
This commit is contained in:
commit
c5d6d87b8c
|
@ -200,7 +200,7 @@ void (async () => {
|
|||
if (!isNpx()) {
|
||||
const { installed, latest, isLatest } = await getVerInfo()
|
||||
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 New Issue