mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Make sure package cache prepare does not end up creating projects inside the Flutter repo (#26389)
This commit is contained in:
parent
88b77a7d0f
commit
b5e69f2ed1
@ -332,6 +332,9 @@ class ArchiveCreator {
|
||||
final String createName = path.join(tempDir.path, 'create_$template');
|
||||
await _runFlutter(
|
||||
<String>['create', '--template=$template', createName],
|
||||
// Run it outside the cloned Flutter repo to not nest git repos, since
|
||||
// they'll be git repos themselves too.
|
||||
workingDirectory: tempDir,
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user