Skip to content

Commit

Permalink
refactor(cli): deal explicitly with uncertainty
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Jul 23, 2021
1 parent 2a8b4a8 commit a44f2cc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/test-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,13 @@ export class TestDriver {
});
});
} catch (e) {
console.log(e.stdout.toString());
console.error(e.stderr.toString());
if (e.stdout) {
console.log(e.stdout.toString());
}
if (e.stderr) {
console.error(e.stderr.toString());
}

throw e;
}
}
Expand Down

0 comments on commit a44f2cc

Please sign in to comment.