mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[flutter_tools] stop unit test from writing real file (#70511)
This commit is contained in:
parent
87746c7674
commit
836efaecf0
@ -57,7 +57,7 @@ void main() {
|
||||
Cache.flutterRoot = '../..';
|
||||
when(sdk.licensesAvailable).thenReturn(true);
|
||||
final FlutterProject project = FlutterProject.current();
|
||||
globals.fs.file(project.android.hostAppGradleRoot.childFile(
|
||||
fs.file(project.android.hostAppGradleRoot.childFile(
|
||||
globals.platform.isWindows ? 'gradlew.bat' : 'gradlew',
|
||||
).path).createSync(recursive: true);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user