[Pkg-javascript-commits] [node-module-deps] 351/444: Enforce entries[] index as local filepath style

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:48:12 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 3a2c711bc09b9c6c68a71ad3534ae3e6bb2657d5
Author: ElNounch <ElNounch at users.noreply.github.com>
Date:   Thu Mar 26 23:33:29 2015 +0100

    Enforce entries[] index as local filepath style
    
    On Windows, fix the example
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 18244cf..e241345 100644
--- a/index.js
+++ b/index.js
@@ -80,7 +80,7 @@ Deps.prototype._transform = function (row, enc, next) {
     }
     
     self.pending ++;
-    if (row.entry !== false) self.entries.push(row.file);
+    if (row.entry !== false) self.entries.push(path.resolve(row.basedir, row.file));
     
     self.lookupPackage(row.file, function (err, pkg) {
         if (err && self.options.ignoreMissing) {

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