Skip to content

Commit

Permalink
[Fix] downgrade tap-parser to v0.7.0
Browse files Browse the repository at this point in the history
Starting in tap-parser v1.0.0, faucet starts outputting duplicate lines for each output line
  • Loading branch information
ljharb committed Feb 5, 2023
1 parent 84d8f72 commit 79c3ff2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package-lock=false
allow-same-version=true
message=v%s
audit-level=none
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ module.exports = function (opts) {
}

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

if (!res.ok) {
var y = ++test.offset + 1;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"sprintf-js": "^1.1.2",
"string.prototype.split": "^1.0.7",
"string.prototype.trim": "^1.2.7",
"tap-parser": "^5.4.0",
"tap-parser": "^0.7.0",
"tape": "^5.6.3",
"through2": "^0.2.3"
},
Expand Down

0 comments on commit 79c3ff2

Please sign in to comment.