forked from firka/flutter
[flutter_tools] Handle empty gzip file on Windows (#54679)
* [flutter_tools] Handle empty gzip file on Windows * Update packages/flutter_tools/test/general.shard/base/os_test.dart Co-Authored-By: Jonah Williams <jonahwilliams@google.com> * Update packages/flutter_tools/test/general.shard/base/os_test.dart Co-Authored-By: Jonah Williams <jonahwilliams@google.com> * Update packages/flutter_tools/test/general.shard/base/os_test.dart Co-Authored-By: Jonah Williams <jonahwilliams@google.com> Co-authored-by: Jonah Williams <jonahwilliams@google.com>
This commit is contained in:
@@ -362,6 +362,8 @@ class _WindowsUtils extends OperatingSystemUtils {
|
||||
return false;
|
||||
} on ArchiveException catch (_) {
|
||||
return false;
|
||||
} on RangeError catch (_) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user