Stop calling top level pub (#89032)

* Use `dart __deprecated_pub` instead of `pub` to invoke pub from tools

The top level `pub` commmand has been deprecated and will print
a message. It is however implemented via the __deprecated_pub command
that prints no message.
This commit is contained in:
Sigurd Meldgaard
2021-08-30 19:40:10 +02:00
committed by GitHub
parent 0b41698cc6
commit bce366203a
16 changed files with 133 additions and 104 deletions

View File

@@ -109,7 +109,7 @@ Future<void> main(List<String> args) async {
DevtoolsLauncher: () => DevtoolsServerLauncher(
processManager: globals.processManager,
fileSystem: globals.fs,
pubExecutable: globals.artifacts.getHostArtifact(HostArtifact.pubExecutable).path,
dartExecutable: globals.artifacts.getHostArtifact(HostArtifact.engineDartBinary).path,
logger: globals.logger,
platform: globals.platform,
persistentToolState: globals.persistentToolState,