Unverified Commit 733fc200 authored by Zachary Anderson's avatar Zachary Anderson Committed by GitHub

[flutter_tool] Use unzip -t instead of zip -T to verify zip files (#52331)

parent fdb7bd3c
......@@ -223,7 +223,7 @@ class _PosixUtils extends OperatingSystemUtils {
@override
bool verifyZip(File zipFile) =>
_processUtils.exitsHappySync(<String>['zip', '-T', zipFile.path]);
_processUtils.exitsHappySync(<String>['unzip', '-t', '-qq', zipFile.path]);
// tar -xzf tarball -C dest
@override
......
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