From ce76c77ab1a23ed67748d200e43c3a8907c2791d Mon Sep 17 00:00:00 2001 From: Kristian Dimitrov Date: Tue, 19 Nov 2019 15:56:18 +0200 Subject: [PATCH] fix: update requires migrate for invalid versions --- lib/commands/update.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/commands/update.ts b/lib/commands/update.ts index c7bb8f1ec3..7c1cae5ccf 100644 --- a/lib/commands/update.ts +++ b/lib/commands/update.ts @@ -32,7 +32,8 @@ export class UpdateCommand implements ICommand { public async canExecute(args: string[]): Promise { const shouldMigrate = await this.$migrateController.shouldMigrate({ projectDir: this.$projectData.projectDir, - platforms: [this.$devicePlatformsConstants.Android, this.$devicePlatformsConstants.iOS] + platforms: [this.$devicePlatformsConstants.Android, this.$devicePlatformsConstants.iOS], + allowInvalidVersions: true }); if (shouldMigrate) {