[flutter_tools] split host artifacts out of Artifacts (#80876)

This commit is contained in:
Jonah Williams
2021-04-22 19:29:02 -07:00
committed by GitHub
parent 0f899f2b64
commit b30d97a64c
37 changed files with 470 additions and 337 deletions

View File

@@ -107,7 +107,7 @@ Future<void> main(List<String> args) async {
// devtools source code.
DevtoolsLauncher: () => DevtoolsServerLauncher(
processManager: globals.processManager,
pubExecutable: globals.artifacts.getArtifactPath(Artifact.pubExecutable),
pubExecutable: globals.artifacts.getHostArtifact(HostArtifact.pubExecutable).path,
logger: globals.logger,
platform: globals.platform,
persistentToolState: globals.persistentToolState,