Skip to content

Commit

Permalink
Fix eslint issue: class-methods-use-this
Browse files Browse the repository at this point in the history
PR-URL: #227
  • Loading branch information
tshemsedinov committed Jul 13, 2023
1 parent 33e5ce4 commit f379ff2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions metalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class Console {
this._groupIndent = 0;
this._counts = new Map();
this._times = new Map();
this._readline = readline;
}

assert(assertion, ...args) {
Expand All @@ -94,8 +95,8 @@ class Console {
}

clear() {
readline.cursorTo(process.stdout, 0, 0);
readline.clearScreenDown(process.stdout);
this._readline.cursorTo(process.stdout, 0, 0);
this._readline.clearScreenDown(process.stdout);
}

count(label = 'default') {
Expand Down

0 comments on commit f379ff2

Please sign in to comment.