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

Fix path to .bat file (#15824)

parent 145abb6d
......@@ -92,12 +92,9 @@ class FlutterProject {
if (Platform.isWindows) {
// A running Gradle daemon might prevent us from deleting the project
// folder on Windows.
await inDirectory(
new Directory(path.join(rootPath, 'android')),
() async {
exec('gradlew.bat', <String>['--stop'], canFail: true);
},
);
await inDirectory(new Directory(rootPath), () async {
exec(path.join('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