[Pkg-javascript-commits] [node-module-deps] 227/444: s/self/this/

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:47:58 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 ce52b0d4e05159fc5152546b552ddb5d645b8b53
Author: James Halliday <mail at substack.net>
Date:   Sat May 10 00:08:11 2014 -0700

    s/self/this/
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 6dae0b3..e1259b5 100644
--- a/index.js
+++ b/index.js
@@ -334,7 +334,7 @@ Deps.prototype.parseDeps = function (file, src, cb) {
     try { var deps = detective(src) }
     catch (ex) {
         var message = ex && ex.message ? ex.message : ex;
-        return self.emit('error', new Error(
+        return this.emit('error', new Error(
             'Parsing file ' + file + ': ' + message
         ));
     }

-- 
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