Unverified Commit ce283781 authored by Mikkel Nygaard Ravn's avatar Mikkel Nygaard Ravn Committed by GitHub

Change to absolute path (#15827)

parent 72fd020a
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment