Skip to content

Commit f46027d

Browse files
FatmeFatme
Fatme
authored and
Fatme
committed
Merge pull request #692 from NativeScript/fatme/do-not-enumerate-inspector.app-files
Do not enumerate Inspector.app files
2 parents 44a271e + bb97752 commit f46027d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/npm-installation-manager.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ export class NpmInstallationManager {
116116
private isPackageUnpacked(packagePath: string): IFuture<boolean> {
117117
return (() => {
118118
return this.$fs.getFsStats(packagePath).wait().isDirectory() &&
119-
this.$fs.enumerateFilesInDirectorySync(packagePath).length > 1;
119+
this.$fs.exists(path.join(packagePath, "framework")).wait() &&
120+
this.$fs.enumerateFilesInDirectorySync(path.join(packagePath, "framework")).length > 1;
120121
}).future<boolean>()();
121122
}
122123
}

0 commit comments

Comments
 (0)