From cc3345577f2f0cfce13313c5b8a4577517f26337 Mon Sep 17 00:00:00 2001 From: Jonathan Chang Date: Wed, 11 Nov 2020 00:13:28 +1100 Subject: [PATCH] unpack_strategy/zip: widen type of super call --- Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb b/Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb index 7da213be6b..b9c07431ce 100644 --- a/Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb +++ b/Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb @@ -26,7 +26,7 @@ module UnpackStrategy end result = begin - T.let(super, SystemCommand::Result) + T.let(super, T.nilable(SystemCommand::Result)) rescue ErrorDuringExecution => e raise unless e.stderr.include?("End-of-central-directory signature not found.")