Tidy up
This commit is contained in:
committed by
Danny Tuppeny
parent
5793a3c372
commit
7a33888693
@@ -9,7 +9,6 @@ import 'package:meta/meta.dart';
|
||||
import '../android/android_sdk.dart';
|
||||
import '../android/android_workflow.dart';
|
||||
import '../base/file_system.dart';
|
||||
import '../base/logger.dart';
|
||||
import '../base/process.dart';
|
||||
import '../emulator.dart';
|
||||
import '../globals.dart';
|
||||
|
||||
@@ -98,8 +98,6 @@ String getAvdPath() {
|
||||
}
|
||||
}
|
||||
|
||||
print(searchPaths);
|
||||
|
||||
return searchPaths.where((String p) => p != null).firstWhere(
|
||||
(String p) => fs.directory(p).existsSync(),
|
||||
orElse: () => null,
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
import 'dart:async';
|
||||
|
||||
import '../base/file_system.dart';
|
||||
import '../base/logger.dart';
|
||||
import '../base/platform.dart';
|
||||
import '../base/process.dart';
|
||||
import '../emulator.dart';
|
||||
@@ -68,7 +67,7 @@ String getSimulatorPath() {
|
||||
'/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app',
|
||||
];
|
||||
return searchPaths.where((String p) => p != null).firstWhere(
|
||||
(String p) => fs.directory(p).existsSync(),
|
||||
orElse: () => null,
|
||||
);
|
||||
(String p) => fs.directory(p).existsSync(),
|
||||
orElse: () => null,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user