Skip to content

Commit

Permalink
feat(downloads): improve logger completion message
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink committed Jan 27, 2022
1 parent 868f8e6 commit a1451e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/js/update_tiger.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ async.eachSeries(STATES, download, (err)=>{
if (err) {
logger.error(err);
process.exit(1);
} else {
logger.info(`downloads complete`);
}
});

Expand All @@ -52,7 +54,6 @@ function download(state, callback) {
],
(err) => {
if (err) { logger.error(err); }
else { logger.info(`downloads complete`); }
callback(err);
});
}
Expand Down

0 comments on commit a1451e9

Please sign in to comment.