From 33e835b10f0a83448d1b8c13c3dfcc37ba0144e7 Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Sat, 3 Oct 2020 00:50:15 +0200 Subject: [PATCH] fix: platform sometimes not in lower case closes #5391 --- lib/services/project-data-service.ts | 1 + 1 file changed, 1 insertion(+) 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) );