refactor: remove implicit globals dependencies in writeBundle (#143343)

This is in service of https://github.com/flutter/flutter/pull/141194

This will make it easier to get the `flutter run -d <browser>` and `flutter build fuschia` cases easier to get under test.
This commit is contained in:
Andrew Kolos
2024-02-13 11:38:37 -08:00
committed by GitHub
parent 66367dd888
commit e8a75aa088
4 changed files with 40 additions and 16 deletions

View File

@@ -886,6 +886,10 @@ class WebDevFS implements DevFS {
bundle.entries,
targetPlatform: TargetPlatform.web_javascript,
impellerStatus: ImpellerStatus.disabled,
processManager: globals.processManager,
fileSystem: globals.fs,
artifacts: globals.artifacts!,
logger: globals.logger,
);
}
}