Load parent package config (#150850)

Fixes #150196
This commit is contained in:
Sigurd Meldgaard
2024-08-20 09:34:35 +02:00
committed by GitHub
parent eef4a06e4e
commit 1a2e25c2d8
55 changed files with 615 additions and 393 deletions

View File

@@ -35,8 +35,6 @@ 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]);
// 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;
}