mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Change to absolute path (#15827)
This commit is contained in:
parent
72fd020a24
commit
ce28378178
@ -92,9 +92,11 @@ class FlutterProject {
|
||||
if (Platform.isWindows) {
|
||||
// A running Gradle daemon might prevent us from deleting the project
|
||||
// folder on Windows.
|
||||
await inDirectory(new Directory(rootPath), () async {
|
||||
exec(path.join('android', 'gradlew.bat'), <String>['--stop'], canFail: true);
|
||||
});
|
||||
await exec(
|
||||
path.absolute(path.join(rootPath, 'android', 'gradlew.bat')),
|
||||
<String>['--stop'],
|
||||
canFail: true,
|
||||
);
|
||||
}
|
||||
await parent.delete(recursive: true);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user