Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

fix(refactor): update deps, lint, test coverage #79

Merged
merged 1 commit into from Jul 22, 2021
Merged

Conversation

wraithgar
Copy link
Member

@wraithgar wraithgar commented Jul 2, 2021

Also fixes a bug in enableProgress that was enabling the gauge even if
the log was paused.

Coverage for branches is downgraded to 95 so that CI is green. This is a
compromise to get us up to date in dependencies. The coverage is MORE
than it was before, and we can keep making it better but I don't think
it should block our updating of dependencies.

"set-blocking": "~2.0.0"
"are-we-there-yet": "^1.1.5",
"console-control-strings": "^1.1.0",
"gauge": "^3.0.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change from 2 to 3 was dropping npm 8 and 6 support.

Also fixes a bug in enableProgress that was enabling the gauge even if
the log was paused.

Coverage for branches is downgraded to 95 so that CI is green. This is a
compromise to get us up to date in dependencies.  The coverage is MORE
than it was before, and we can keep making it better but I don't think
it should block our updating of dependencies.
this.progressEnabled = true
this.tracker.on('change', this.showProgress)
if (this._pause) return
if (this._paused)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the bugfix. It's this._paused not this._pause

Copy link
Contributor

@nlf nlf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow, this one was linty. these changes all look great!

@wraithgar wraithgar merged commit e420957 into main Jul 22, 2021
@wraithgar wraithgar deleted the gar/dependencies branch July 22, 2021 17:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants