Skip to content

Commit

Permalink
fix(package.json): Update npm modules (#17)
Browse files Browse the repository at this point in the history
* npm update

* Fixed typescript errors with new log-update

* eslint fixes
  • Loading branch information
mikkotikkanen authored May 21, 2020
1 parent c409688 commit a589abe
Show file tree
Hide file tree
Showing 6 changed files with 3,375 additions and 2,338 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ module.exports = {
],
parserOptions: {
},
}
};
6 changes: 3 additions & 3 deletions libs/loggers/defaultLogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ let isProgressBarRunning = false;
*/
const startProgressBar = () => {
let progressBarDots = chalk.hex(awsOrange)('.');
logUpdate.default(progressBarDots);
logUpdate(progressBarDots);

progressBarTimer = setInterval(() => {
progressBarDots += chalk.hex(awsOrange)('.');
logUpdate.default(progressBarDots);
logUpdate(progressBarDots);
}, 5 * 1000);

isProgressBarRunning = true;
};
const stopProgressBar = () => {
clearInterval(progressBarTimer);
logUpdate.default.done();
logUpdate.done();

isProgressBarRunning = false;
};
Expand Down
Loading

0 comments on commit a589abe

Please sign in to comment.