[Pkg-javascript-commits] [node-jsonstream] 163/214: Remove stream.destroy()

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 1 12:58:54 UTC 2017


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

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

commit d2a13ec10e4cfc77eee88b90da93d6fbd2219b01
Author: Guillaume Chauvet <gchauvet at zatarox.com>
Date:   Sun Aug 23 08:26:48 2015 +0200

    Remove stream.destroy()
---
 index.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/index.js b/index.js
index 97e5144..7fc4ac2 100755
--- a/index.js
+++ b/index.js
@@ -22,7 +22,6 @@ exports.parse = function (path, map) {
       parser.write(chunk);
     } catch(e) {
       stream.emit('error', e);
-      stream.destroy();
     }
   },
   function (data) {

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



More information about the Pkg-javascript-commits mailing list