unpack_strategy/zip: widen type of super call
This commit is contained in:
parent
52de3f9d8d
commit
cc3345577f
@ -26,7 +26,7 @@ module UnpackStrategy
|
|||||||
end
|
end
|
||||||
|
|
||||||
result = begin
|
result = begin
|
||||||
T.let(super, SystemCommand::Result)
|
T.let(super, T.nilable(SystemCommand::Result))
|
||||||
rescue ErrorDuringExecution => e
|
rescue ErrorDuringExecution => e
|
||||||
raise unless e.stderr.include?("End-of-central-directory signature not found.")
|
raise unless e.stderr.include?("End-of-central-directory signature not found.")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user