mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
[flutter_tools] use throwToolExit in flutter drive (#69220)
* [flutter_tools] use throwToolExit * Update drive.dart
This commit is contained in:
parent
91ab73ab23
commit
8b9e9680d2
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue