[Pkg-javascript-commits] [node-module-deps] 303/444: Correct a `this` to `self`

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:48:07 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 fe945748e5071c0aafe51fac80c4a3b89765e225
Author: Shuan Wang <shuanwang at gmail.com>
Date:   Sun Aug 3 22:38:03 2014 -0700

    Correct a `this` to `self`
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index b2e854d..95bea57 100644
--- a/index.js
+++ b/index.js
@@ -59,7 +59,7 @@ Deps.prototype._transform = function (row, enc, next) {
     if (row.entry !== false) self.entries.push(row.file);
     
     self.lookupPackage(row.file, function (err, pkg) {
-        if (err && this.options.ignoreMissing) {
+        if (err && self.options.ignoreMissing) {
             self.emit('missing', row.file, self.top);
             self.pending --;
             return next();

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