From 8475941d4737970ff5f8a164927d3f4ef6d92cb8 Mon Sep 17 00:00:00 2001 From: Ruben Vergani Date: Sat, 10 Apr 2021 19:07:50 +0200 Subject: [PATCH] Update cli.ts by default, `npm i -g (already installed package)` only installs new patches, not minors or majors. --- src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index 15fb4da..01d228f 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -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.`)) } } })()