Skip to content

Commit 9a1483b

Browse files
committedNov 13, 2021
update treport again, strip node version from crash output
1 parent 320f3c5 commit 9a1483b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
 

‎package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test/clean-stacks.js

+3
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ module.exports = out => out
7171
// the arrows in source printing bits, make that consistent
7272
.replace(/^(\s*)-+\^$/mg, '$1--^')
7373

74+
// remove presumptuous node version output on all crashes
75+
.replace(/\nNode.js v[0-9\.]+\n/g, '')
76+
7477
// nothing to see here
7578
if (module === require.main)
7679
console.log('TAP version 13\n1..1\nok - 1\n')

0 commit comments

Comments
 (0)
Please sign in to comment.