[Pkg-javascript-commits] [node-module-deps] 245/444: fix syntax error

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:48: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-module-deps.

commit 78273f8fc8d54ad6881d599624d05bfe76dc8c1e
Author: James Halliday <mail at substack.net>
Date:   Sun Jul 6 17:43:01 2014 -0700

    fix syntax error
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 360f3ab..c9c4b43 100644
--- a/index.js
+++ b/index.js
@@ -444,6 +444,6 @@ function wrapTransform (tr) {
     var input = through(), output = through();
     input.pipe(tr).pipe(output);
     var wrapper = duplexer(input, output);
-    tr.on('error', wrapper.emit.bind(wrapper, 'error');
+    tr.on('error', function (err) { wrapper.emit('error', err) });
     return wrapper;
 }

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



More information about the Pkg-javascript-commits mailing list