Show output from pub get in flutter pub get (#106300)

This commit is contained in:
Sigurd Meldgaard
2022-08-29 09:37:19 +02:00
committed by GitHub
parent f66a097919
commit 3802eb627e
27 changed files with 559 additions and 252 deletions

View File

@@ -35,7 +35,7 @@ Future<String> createProject(Directory temp, { List<String>? arguments }) async
final CreateCommand command = CreateCommand();
final CommandRunner<void> runner = createTestCommandRunner(command);
await runner.run(<String>['create', ...arguments, projectPath]);
// Created `.packages` since it's not created when the flag `--no-pub` is passed.
// Create `.packages` since it's not created when the flag `--no-pub` is passed.
globals.fs.file(globals.fs.path.join(projectPath, '.packages')).createSync();
return projectPath;
}