Skip to content

Commit a34143b

Browse files
committed
Fix constructor
1 parent 10bc8e3 commit a34143b

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/lib/matrix.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import chalk from 'chalk'
22

3+
/**
4+
* Message routing and formatting matrix.
5+
* @private
6+
* @type {Object}
7+
*/
38
export default function matrix(sOut, sErr) {
49
return {
510
debug: {

src/lib/verbosity.class.js

-7
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export default class Verbosity extends Console {
5454
})(errorStream ? errorStream : sOut)
5555

5656
super(sOut, sErr)
57-
5857
this.willEmit = Boolean(namespace)
5958

6059
this.timeFormatter = (ts => ts ?
@@ -71,12 +70,6 @@ export default class Verbosity extends Console {
7170
this._stderr = sErr
7271
this.threshold = verbosity ? verbosity : 3
7372
this.emitter = this.willEmit && sparkles(namespace)
74-
75-
/**
76-
* Message routing and formatting matrix.
77-
* @private
78-
* @type {Object}
79-
*/
8073
this.matrix = matrix(sOut, sErr)
8174
}
8275

0 commit comments

Comments
 (0)