[Pkg-javascript-commits] [node-jsonstream] 198/214: fix code for error_contents test
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 1 12:59:00 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 5e1fb0a40567ed2e8a4a0168e78ba4c65a09bca7
Author: doowb <brian.woodward at gmail.com>
Date: Wed Sep 21 15:37:54 2016 -0400
fix code for error_contents test
---
index.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/index.js b/index.js
index 36c410e..5546d46 100755
--- a/index.js
+++ b/index.js
@@ -25,6 +25,8 @@ exports.parse = function (path, map) {
function (data) {
if(data)
stream.write(data)
+ if (header)
+ stream.emit('header', header)
if (footer)
stream.emit('footer', footer)
stream.queue(null)
--
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