Commit d780c4b2 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Revert "Gracefully handle !isValid in AndroidStudio.gradleExecutable (#9893)" (#9934)

Fixes https://github.com/flutter/flutter/issues/9929
parent fb821484
......@@ -100,9 +100,8 @@ class AndroidStudio implements Comparable<AndroidStudio> {
String get gradlePath => _gradlePath;
String get gradleExecutable => isValid
? fs.path.join(_gradlePath, 'bin', platform.isWindows ? 'gradle.bat' : 'gradle')
: null;
String get gradleExecutable => fs.path
.join(_gradlePath, 'bin', platform.isWindows ? 'gradle.bat' : 'gradle');
String get javaPath => _javaPath;
......
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