We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f1ffa3 commit 313a44dCopy full SHA for 313a44d
lib/npm-installation-manager.ts
@@ -71,7 +71,7 @@ export class NpmInstallationManager implements INpmInstallationManager {
71
private installCore(packageName: string, pathToSave: string, version: string, dependencyType: string): IFuture<string> {
72
return (() => {
73
// check if the packageName is url or local file and if it is, let npm install deal with the version
74
- if(this.isURL(packageName) || this.$fs.exists(packageName).wait()) {
+ if(this.isURL(packageName) || this.$fs.exists(packageName).wait() || packageName.indexOf(".") === 0) {
75
version = null;
76
} else {
77
version = version || this.getLatestCompatibleVersion(packageName).wait();
0 commit comments