[Pkg-javascript-commits] [node-module-deps] 129/444: fix to reset pending for visited files
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 15 09:47:49 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 0d189c40137bbc9eceec25e8567f335e11c44884
Author: James Halliday <mail at substack.net>
Date: Tue Jul 9 00:36:14 2013 -0700
fix to reset pending for visited files
---
index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.js b/index.js
index d5dfba3..3b85d60 100644
--- a/index.js
+++ b/index.js
@@ -95,7 +95,7 @@ module.exports = function (mains, opts) {
].join('')));
if (cb) cb(file);
- if (visited[file]) return;
+ if (visited[file]) return --pending;
visited[file] = true;
--
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