[Pkg-javascript-commits] [node-deps-sort] 41/79: actually breaks things

Bastien Roucariès rouca at moszumanska.debian.org
Wed Sep 6 09:41:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-deps-sort.

commit ff71212762096fb9ec926821cc8db0b46668d6f1
Author: James Halliday <mail at substack.net>
Date:   Wed Jul 23 04:48:20 2014 -0700

    actually breaks things
---
 index.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/index.js b/index.js
index 76983e2..5d437ac 100644
--- a/index.js
+++ b/index.js
@@ -64,9 +64,7 @@ function sorter (rows, tr, opts) {
             row.indexDeps = {};
             Object.keys(row.deps).forEach(function (key) {
                 var id = row.deps[key];
-                if (has(index, id)) {
-                    row.indexDeps[key] = index[id];
-                }
+                row.indexDeps[key] = index[id];
             });
             if (row.dedupe) {
                 row.dedupeIndex = index[row.dedupe];

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



More information about the Pkg-javascript-commits mailing list