Return void from project migrate() (#112897)

This commit is contained in:
Jenn Magder
2022-10-05 13:22:56 -07:00
committed by GitHub
parent 69fc4fb622
commit b82cf76ff6
21 changed files with 73 additions and 134 deletions

View File

@@ -54,9 +54,7 @@ Future<void> buildWindows(WindowsProject windowsProject, BuildInfo buildInfo, {
];
final ProjectMigration migration = ProjectMigration(migrators);
if (!migration.run()) {
throwToolExit('Unable to migrate project files');
}
migration.run();
// Ensure that necessary ephemeral files are generated and up to date.
_writeGeneratedFlutterConfig(windowsProject, buildInfo, target);