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:
committed by
GitHub
parent
287db72a8c
commit
0f6756d750
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user