Browse files

fix wrong filename when install deps module using format #105

  • Loading branch information...
1 parent 46752f8 commit 7265a360be55fd5514486e8a35ac7fa65f92b403 @popomore popomore committed Dec 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/install.js
View
2 lib/install.js
@@ -367,7 +367,7 @@ function transform(obj) {
var repl = function(id) {
var m = mo.parseIdentify(id);
if (!m) return id;
- return iduri.idFromPackage(m, obj.filename, obj.format);
+ return iduri.idFromPackage(m, m.filename, obj.format);
};
var uglifyOptions = {comments: true};
if (~obj.filename.indexOf('debug')) {

0 comments on commit 7265a36

Please sign in to comment.