mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
@alwaysThrows is deprecated. Return Never instead. (flutter/engine#39269)
This commit is contained in:
parent
5fafcca371
commit
5c3acfecc6
@ -224,8 +224,7 @@ class ProcessManager {
|
||||
return (await eval()).stderr;
|
||||
}
|
||||
|
||||
@alwaysThrows
|
||||
void _throwProcessException({required String description, int? exitCode}) {
|
||||
Never _throwProcessException({required String description, int? exitCode}) {
|
||||
throw ProcessException(
|
||||
description: description,
|
||||
executable: executable,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user