Permalink
Browse files

fix casing in .lookup()

  • Loading branch information...
1 parent 0d428e0 commit f1cfb10b3d26bdd536b4d8d4e682d39500d0fb88 @tj tj committed Jan 16, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/component.js
View
@@ -35,6 +35,7 @@ exports.utils = utils;
*/
exports.lookup = function(pkg, paths){
+ pkg = pkg.toLowerCase();
debug('lookup %s', pkg);
for (var i = 0; i < paths.length; ++i) {
var path = join(paths[i], pkg);

0 comments on commit f1cfb10

Please sign in to comment.