[Pkg-javascript-commits] [node-module-deps] 23/444: minimal-er

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:47:39 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 40655e41eec942015812d48f2c8d2909e7f4fb17
Author: James Halliday <mail at substack.net>
Date:   Fri Feb 22 23:37:04 2013 -0800

    minimal-er
---
 index.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/index.js b/index.js
index a18d830..ac19b87 100644
--- a/index.js
+++ b/index.js
@@ -19,7 +19,7 @@ module.exports = function (mains, opts) {
     if (!opts) opts = {};
     if (opts.cache === undefined) opts.cache = cache;
     opts.includeSource = true;
-
+    
     mains.forEach(function (file) {
         pending ++;
         var p = 2, src, rows;
@@ -39,9 +39,7 @@ module.exports = function (mains, opts) {
             };
             
             walk(rows);
-            if (--pending === 0) {
-                output.queue(null);
-            }
+            if (--pending === 0) output.queue(null);
         }
         
         fs.readFile(file, 'utf8', function (err, s) {

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