Bump Dart SDK to 1.22.0-dev.10.3 (#7791)
This commit is contained in:
committed by
GitHub
parent
50125ab271
commit
40aab7f553
@@ -464,7 +464,7 @@ class AppDomain extends Domain {
|
||||
if (app == null)
|
||||
throw "app '$appId' not found";
|
||||
|
||||
return app.stop().timeout(new Duration(seconds: 5)).then((_) {
|
||||
return app.stop().timeout(new Duration(seconds: 5)).then<bool>((_) {
|
||||
return true;
|
||||
}).catchError((dynamic error) {
|
||||
_sendAppEvent(app, 'log', <String, dynamic>{ 'log': '$error', 'error': true });
|
||||
|
||||
@@ -278,7 +278,7 @@ class IOSDevice extends Device {
|
||||
|
||||
Future<int> launch = runCommandAndStreamOutput(launchCommand, trace: true);
|
||||
|
||||
List<Uri> uris = await launch.then((int result) async {
|
||||
List<Uri> uris = await launch.then<List<Uri>>((int result) async {
|
||||
installationResult = result;
|
||||
|
||||
if (result != 0) {
|
||||
|
||||
Reference in New Issue
Block a user