Commit 0f3cc6e9 authored by Jakob Andersen's avatar Jakob Andersen Committed by GitHub

Fix finding Android Studio on macOS. (#8287)

parent 77efc38b
...@@ -123,6 +123,8 @@ class AndroidStudio implements Comparable<AndroidStudio> { ...@@ -123,6 +123,8 @@ class AndroidStudio implements Comparable<AndroidStudio> {
List<FileSystemEntity> candidatePaths = <FileSystemEntity>[]; List<FileSystemEntity> candidatePaths = <FileSystemEntity>[];
void _checkForStudio(String path) { void _checkForStudio(String path) {
if (!fs.isDirectorySync(path))
return;
List<Directory> directories = fs List<Directory> directories = fs
.directory(path) .directory(path)
.listSync() .listSync()
......
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