diff --git a/lib/services/project-data-service.ts b/lib/services/project-data-service.ts index a9b1e503d7..5c82d4e6eb 100644 --- a/lib/services/project-data-service.ts +++ b/lib/services/project-data-service.ts @@ -568,6 +568,7 @@ export class ProjectDataService implements IProjectDataService { projectDir: string, platform: constants.SupportedPlatform ): IBasePluginData { + platform = platform.toLowerCase() as constants.SupportedPlatform; const packageJson = this.$fs.readJson( path.join(projectDir, constants.PACKAGE_JSON_FILE_NAME) );