Skip to content

Commit 4b0f916

Browse files
Fix warning when adding existing platform
Do not display help for platform add command when adding an existing platform to the project.
1 parent e3c2b10 commit 4b0f916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/platform-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class PlatformService implements IPlatformService {
5555
let platformPath = path.join(this.$projectData.platformsDir, platform);
5656

5757
if (this.$fs.exists(platformPath).wait()) {
58-
this.$errors.fail("Platform %s already added", platform);
58+
this.$errors.failWithoutHelp("Platform %s already added", platform);
5959
}
6060

6161
let platformData = this.$platformsData.getPlatformData(platform);

0 commit comments

Comments
 (0)