Last active
August 29, 2015 14:06
-
-
Save kenany/4565f3e05ad5423b9028 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/cache.js b/lib/cache.js | |
index 281d610..ca99399 100644 | |
--- a/lib/cache.js | |
+++ b/lib/cache.js | |
@@ -304,7 +304,7 @@ function addNonLocal (spec, cb) { | |
maybeGithub(p.spec, cb) | |
break | |
default: | |
- if (p.name) return addNamed(p.name, p.spec, null, cb) | |
+ if (p.name) return addNamed(p.name, p.rawSpec, null, cb) | |
cb(new Error("couldn't figure out how to install " + spec)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment