From 4b0f91624a9e643dab8f69f13f604d1398ac7fbe Mon Sep 17 00:00:00 2001 From: TsvetanMilanov Date: Thu, 31 Mar 2016 18:07:07 +0300 Subject: [PATCH] Fix warning when adding existing platform Do not display help for platform add command when adding an existing platform to the project. --- lib/services/platform-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/platform-service.ts b/lib/services/platform-service.ts index 83f8612642..07a1f7cde3 100644 --- a/lib/services/platform-service.ts +++ b/lib/services/platform-service.ts @@ -55,7 +55,7 @@ export class PlatformService implements IPlatformService { let platformPath = path.join(this.$projectData.platformsDir, platform); if (this.$fs.exists(platformPath).wait()) { - this.$errors.fail("Platform %s already added", platform); + this.$errors.failWithoutHelp("Platform %s already added", platform); } let platformData = this.$platformsData.getPlatformData(platform);