Skip to content

Commit

Permalink
Merge pull request #1065 from microsoft/benibenj/foolish-cod
Browse files Browse the repository at this point in the history
Change vsce update notification from INFO to WARNING
  • Loading branch information
benibenj authored Oct 10, 2024
2 parents 980d621 + 4335f9c commit 51ed6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function main(task: Promise<any>): void {

task.catch(fatal).then(() => {
if (latestVersion && semver.gt(latestVersion, pkg.version)) {
log.info(`The latest version of ${pkg.name} is ${latestVersion} and you have ${pkg.version}.\nUpdate it now: npm install -g ${pkg.name}`);
log.warn(`The latest version of ${pkg.name} is ${latestVersion} and you have ${pkg.version}.\nUpdate it now: npm install -g ${pkg.name}`);
} else {
token.cancel();
}
Expand Down

0 comments on commit 51ed6ba

Please sign in to comment.