We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a9fa2 commit 1b21b95Copy full SHA for 1b21b95
lib/helpers/platform-command-helper.ts
@@ -104,7 +104,8 @@ export class PlatformCommandHelper implements IPlatformCommandHelper {
104
}
105
106
const subDirs = this.$fs.readDirectory(projectData.platformsDir);
107
- return _.filter(subDirs, p => this.$mobileHelper.platformNames.indexOf(p) > -1);
+ const platforms = this.$mobileHelper.platformNames.map(p => p.toLowerCase());
108
+ return _.filter(subDirs, p => platforms.indexOf(p) > -1);
109
110
111
public getAvailablePlatforms(projectData: IProjectData): string[] {
0 commit comments