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:
Wenzheng Tang 2021-05-02 18:01:24 -04:00 committed by GitHub
commit c5d6d87b8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.`))
}
}
})()