Skip to content

Commit

Permalink
fixes #372
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Jul 11, 2019
1 parent 82ce527 commit 7928988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Expand Up @@ -39,7 +39,7 @@ function main(task: Promise<any>): void {
if (isatty(1)) {
getLatestVersion(pkg.name, token)
.then(version => latestVersion = version)
.catch(err => !isCancelledError(err) && log.error(err));
.catch(_ => { /* noop */ });
}

task
Expand Down

0 comments on commit 7928988

Please sign in to comment.