File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11import { IProjectData } from "../definitions/project" ;
2- import { IMigrateController } from "../definitions/migrate" ;
2+ import { IMigrateController , IMigrationData } from "../definitions/migrate" ;
33import { ICommand , ICommandParameter } from "../common/definitions/commands" ;
44import { injector } from "../common/yok" ;
55
@@ -17,7 +17,7 @@ export class MigrateCommand implements ICommand {
1717 }
1818
1919 public async execute ( args : string [ ] ) : Promise < void > {
20- const migrationData = {
20+ const migrationData : IMigrationData = {
2121 projectDir : this . $projectData . projectDir ,
2222 platforms : [
2323 this . $devicePlatformsConstants . Android ,
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import { injector } from "../yok";
55export class EmulatorHelper implements Mobile . IEmulatorHelper {
66 // https://developer.android.com/guide/topics/manifest/uses-sdk-element
77 public mapAndroidApiLevelToVersion = {
8+ "android-31" : "12.0.0" ,
9+ "android-30" : "11.0.0" ,
810 "android-29" : "10.0.0" ,
911 "android-28" : "9.0.0" ,
1012 "android-27" : "8.1.0" ,
Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ export class MigrateController
331331 shouldMigrate = await this . _shouldMigrate ( {
332332 projectDir,
333333 platforms : remainingPlatforms ,
334- loose : loose ,
334+ loose,
335335 } ) ;
336336 this . $logger . trace (
337337 `Executed shouldMigrate for platforms: ${ remainingPlatforms } . Result is: ${ shouldMigrate } `
You can’t perform that action at this time.
0 commit comments