Skip to content

Commit 4676d23

Browse files
Merge pull request #3631 from NativeScript/fatme/fix-update-platform
Fix tns update command when no platform is added
2 parents a6ef8a9 + deb8c9a commit 4676d23

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/commands/update-platform.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export class UpdatePlatformCommand implements ICommand {
2525

2626
for (const arg of args) {
2727
const [ platform, versionToBeInstalled ] = arg.split("@");
28-
this.$platformService.validatePlatformInstalled(platform, this.$projectData);
2928
const argsToCheckEnvironmentRequirements: string[] = [ platform ];
3029
// If version is not specified, we know the command will install the latest compatible Android runtime.
3130
// The latest compatible Android runtime supports Java version, so we do not need to pass it here.

0 commit comments

Comments
 (0)