Skip to content

Commit

Permalink
Merge pull request #7 from jharding/exit-on-old-versions-of-node
Browse files Browse the repository at this point in the history
Destroy stdin stream for < 0.8 compatibility
  • Loading branch information
domenic committed Nov 5, 2012
2 parents a9ef32a + c277649 commit ba7c4b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cli.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var getAdapter = promptFactory(rl, 3, "Adapter file name: ", processAdapterInput
getTestSuites(function (suites) {
getAdapter(function (adapter) {
rl.close();
process.stdin.destroy();

programmaticRunner(adapter, suites);
});
Expand Down

0 comments on commit ba7c4b3

Please sign in to comment.