[Pkg-javascript-commits] [node-module-deps] 296/444: actually that was a mistake

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:48:06 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 24e4a4237c499984c2dd4b1714be1568097d56d8
Author: James Halliday <mail at substack.net>
Date:   Thu Jul 24 21:42:54 2014 -0700

    actually that was a mistake
---
 index.js | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/index.js b/index.js
index 356476b..259fd48 100644
--- a/index.js
+++ b/index.js
@@ -202,11 +202,7 @@ Deps.prototype.getTransforms = function (file, pkg) {
     }
     
     function loadTransform (id, trOpts, cb) {
-        var params = {
-            basedir: trOpts.basedir
-                || self.options.basedir
-                || path.dirname(file)
-        };
+        var params = { basedir: path.dirname(file) };
         nodeResolve(id, params, function nr (err, res, again) {
             if (err && again) return cb(err);
             

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