Skip to content

Commit 79c3ff2

Browse files
committed
[Fix] downgrade tap-parser to v0.7.0
Starting in tap-parser v1.0.0, faucet starts outputting duplicate lines for each output line
1 parent 84d8f72 commit 79c3ff2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
package-lock=false
22
allow-same-version=true
33
message=v%s
4+
audit-level=none

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = function (opts) {
7272
}
7373

7474
var fmt = '\r %s \x1b[1m\x1b[' + c + 'm%d\x1b[0m %s\x1b[K';
75-
var str = sprintf(fmt, ok, res.id, res.name);
75+
var str = sprintf(fmt, ok, res.number, res.name);
7676

7777
if (!res.ok) {
7878
var y = ++test.offset + 1;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"sprintf-js": "^1.1.2",
3939
"string.prototype.split": "^1.0.7",
4040
"string.prototype.trim": "^1.2.7",
41-
"tap-parser": "^5.4.0",
41+
"tap-parser": "^0.7.0",
4242
"tape": "^5.6.3",
4343
"through2": "^0.2.3"
4444
},

0 commit comments

Comments
 (0)