From deb8c9ac64f878ede0d1525f8f5ffbcd3665f54e Mon Sep 17 00:00:00 2001 From: fatme Date: Tue, 29 May 2018 11:45:51 +0300 Subject: [PATCH] Fix tns update command when no platform is added --- lib/commands/update-platform.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/commands/update-platform.ts b/lib/commands/update-platform.ts index bfa3fa2c1f..d8422438e2 100644 --- a/lib/commands/update-platform.ts +++ b/lib/commands/update-platform.ts @@ -25,7 +25,6 @@ export class UpdatePlatformCommand implements ICommand { for (const arg of args) { const [ platform, versionToBeInstalled ] = arg.split("@"); - this.$platformService.validatePlatformInstalled(platform, this.$projectData); const argsToCheckEnvironmentRequirements: string[] = [ platform ]; // If version is not specified, we know the command will install the latest compatible Android runtime. // The latest compatible Android runtime supports Java version, so we do not need to pass it here.