We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 44a271e + bb97752 commit f46027dCopy full SHA for f46027d
lib/npm-installation-manager.ts
@@ -116,7 +116,8 @@ export class NpmInstallationManager {
116
private isPackageUnpacked(packagePath: string): IFuture<boolean> {
117
return (() => {
118
return this.$fs.getFsStats(packagePath).wait().isDirectory() &&
119
- this.$fs.enumerateFilesInDirectorySync(packagePath).length > 1;
+ this.$fs.exists(path.join(packagePath, "framework")).wait() &&
120
+ this.$fs.enumerateFilesInDirectorySync(path.join(packagePath, "framework")).length > 1;
121
}).future<boolean>()();
122
}
123
0 commit comments