From 8b820ccc543a16aac3309069ffbe3248af3c3270 Mon Sep 17 00:00:00 2001 From: Jakob Andersen Date: Mon, 20 Feb 2017 14:27:03 +0100 Subject: [PATCH] One more fix for finding Android Studio on macOS. (#8288) Finally found the command to run tests in checked mode on my system. This one should've been caught by the IDE, but wasn't. --- packages/flutter_tools/lib/src/android/android_studio.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/android/android_studio.dart b/packages/flutter_tools/lib/src/android/android_studio.dart index 17e4dd3a269..65c9fc24131 100644 --- a/packages/flutter_tools/lib/src/android/android_studio.dart +++ b/packages/flutter_tools/lib/src/android/android_studio.dart @@ -125,7 +125,7 @@ class AndroidStudio implements Comparable { void _checkForStudio(String path) { if (!fs.isDirectorySync(path)) return; - List directories = fs + Iterable directories = fs .directory(path) .listSync() .where((FileSystemEntity e) => e is Directory);