[flutter_tools] use throwToolExit in flutter drive (#69220)
* [flutter_tools] use throwToolExit * Update drive.dart
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user