Skip to content

Commit

Permalink
update treport again, strip node version from crash output
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Nov 13, 2021
1 parent 320f3c5 commit 9a1483b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions test/clean-stacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ module.exports = out => out
// the arrows in source printing bits, make that consistent
.replace(/^(\s*)-+\^$/mg, '$1--^')

// remove presumptuous node version output on all crashes
.replace(/\nNode.js v[0-9\.]+\n/g, '')

// nothing to see here
if (module === require.main)
console.log('TAP version 13\n1..1\nok - 1\n')

0 comments on commit 9a1483b

Please sign in to comment.