[Pkg-javascript-commits] [node-acorn-jsx] 221/484: Workaround for joyent/node#3584.

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:20:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit 5ab6837208285f39f9837e91b4170b365a6a8400
Author: Ingvar Stepanyan <me at rreverser.com>
Date:   Thu Jul 24 23:41:23 2014 +0300

    Workaround for joyent/node#3584.
---
 test/run.js | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/test/run.js b/test/run.js
index 84e7363..2d44344 100644
--- a/test/run.js
+++ b/test/run.js
@@ -13,11 +13,10 @@ driver.runTests(report);
 console.log(testsRun + " tests run in " + (+new Date - t0) + "ms");
 
 if (failed) {
-  process.stdout.once('drain', function () {
+  console.log(failed + " failures.");
+  process.stdout.write("", function() {
     process.exit(1);
   });
-
-  console.log(failed + " failures.");
 } else {
   console.log("All passed.");
-}
+}
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git



More information about the Pkg-javascript-commits mailing list