Skip to content

Commit

Permalink
Merge pull request #369 from atsutton/master
Browse files Browse the repository at this point in the history
Changed log level to info.
  • Loading branch information
joaomoreno authored Jun 27, 2019
2 parents 744a8c6 + fba5037 commit 5d2af9c
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 {
.catch(fatal)
.then(() => {
if (latestVersion && semver.gt(latestVersion, pkg.version)) {
log.warn(`\nThe latest version of ${pkg.name} is ${latestVersion} and you have ${pkg.version}.\nUpdate it now: npm install -g ${pkg.name}`);
log.info(`\nThe 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 5d2af9c

Please sign in to comment.