Skip to content

Commit ac4ee24

Browse files
Ensure platforms directory exists prior to preparing (#3014)
1 parent afa5102 commit ac4ee24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/common

lib/services/platform-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ export class PlatformService extends EventEmitter implements IPlatformService {
133133
spinner.stop();
134134
}
135135

136+
this.$fs.ensureDirectoryExists(platformPath);
136137
this.$logger.out("Project successfully created.");
137-
138138
}
139139

140140
private async addPlatformCore(platformData: IPlatformData, frameworkDir: string, platformTemplate: string, projectData: IProjectData, config: IAddPlatformCoreOptions, nativePrepare?: INativePrepare): Promise<string> {

0 commit comments

Comments
 (0)