Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit 8a5ddf5

Browse files
tclindnerXhmikosR
authored andcommitted
Fix cli_test.js silently failing.
The `console.log` stub needs to be restored.
1 parent 826a98d commit 8a5ddf5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/cli_test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ function rAfter() {
3232
if (process.stderr.write.restore) {
3333
process.stderr.write.restore();
3434
}
35+
36+
if (console.log.restore) {
37+
console.log.restore();
38+
}
3539
}
3640

3741
exports.bootlint = {

0 commit comments

Comments
 (0)