Skip to content

Commit ce76c77

Browse files
committed
fix: update requires migrate for invalid versions
1 parent 3f65dc2 commit ce76c77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/commands/update.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ export class UpdateCommand implements ICommand {
3232
public async canExecute(args: string[]): Promise<boolean> {
3333
const shouldMigrate = await this.$migrateController.shouldMigrate({
3434
projectDir: this.$projectData.projectDir,
35-
platforms: [this.$devicePlatformsConstants.Android, this.$devicePlatformsConstants.iOS]
35+
platforms: [this.$devicePlatformsConstants.Android, this.$devicePlatformsConstants.iOS],
36+
allowInvalidVersions: true
3637
});
3738

3839
if (shouldMigrate) {

0 commit comments

Comments
 (0)