Skip to content

Commit edfd974

Browse files
Merge pull request #1662 from NativeScript/milanov/fix-add-existing-platform-message
Fix warning when adding existing platform
2 parents e3c2b10 + 4b0f916 commit edfd974

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)