Skip to content

Commit 5f12de3

Browse files
committed
Refactor prepareProject
1 parent 0f36cf2 commit 5f12de3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/definitions/project.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ interface IProjectTemplatesService {
1818
interface IPlatformProjectService {
1919
createProject(platform: string): IFuture<void>;
2020
buildProject(platform: string): IFuture<void>;
21+
prepareProject(normalizedPlatformName: string, platforms: string[]): IFuture<void>;
2122
}
2223

2324
interface IPlatformSpecificProjectService {

lib/services/platform-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export class PlatformService implements IPlatformService {
113113
this.validatePlatform(platform);
114114
var normalizedPlatformName = this.normalizePlatformName(platform);
115115

116-
//this.$projectService.prepareProject(normalizedPlatformName, this.platformNames).wait();
116+
this.$platformProjectService.prepareProject(normalizedPlatformName, this.$platformsData.platformsNames).wait();
117117
}).future<void>()();
118118
}
119119

0 commit comments

Comments
 (0)