Unverified Commit 8b9e9680 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] use throwToolExit in flutter drive (#69220)

* [flutter_tools] use throwToolExit

* Update drive.dart
parent 91ab73ab
......@@ -226,7 +226,7 @@ class DriveCommand extends RunCommandBase {
await driverService.stop(userIdentifier: userIdentifier, writeSkslOnExit: skslFile);
}
if (testResult != 0) {
return FlutterCommandResult.fail();
throwToolExit(null);
}
return FlutterCommandResult.success();
}
......
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