Convert ProjectMigration and ProjectMigrator to be async (#146537)

Convert `ProjectMigration.run()` and `ProjectMigrator.migrate()` to be async.

Needed for Swift Package Manager migration, which requires some async processes: https://github.com/flutter/flutter/pull/146256
This commit is contained in:
Victoria Ashworth
2024-04-10 11:26:19 -05:00
committed by GitHub
parent 287db72a8c
commit 0f6756d750
39 changed files with 242 additions and 242 deletions

View File

@@ -53,7 +53,7 @@ Future<void> buildLinux(
];
final ProjectMigration migration = ProjectMigration(migrators);
migration.run();
await migration.run();
// Build the environment that needs to be set for the re-entrant flutter build
// step.