Run pub in interactive mode in flutter packages pub (#11700)

This commit is contained in:
Mikkel Nygaard Ravn
2017-09-06 11:53:39 +02:00
committed by GitHub
parent f430a45a5b
commit 8303fff8f9
8 changed files with 306 additions and 79 deletions

View File

@@ -118,6 +118,7 @@ Future<int> run(List<String> args, List<FlutterCommand> subCommands, {
// in those locations as well to see if you need a similar update there.
// Seed these context entries first since others depend on them
context.putIfAbsent(Stdio, () => const Stdio());
context.putIfAbsent(Platform, () => const LocalPlatform());
context.putIfAbsent(FileSystem, () => const LocalFileSystem());
context.putIfAbsent(ProcessManager, () => const LocalProcessManager());