unpack_strategy/zip: widen type of super call

This commit is contained in:
Jonathan Chang 2020-11-11 00:13:28 +11:00
parent 52de3f9d8d
commit cc3345577f

View File

@ -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.")