fix(lib): TypeError in extractEntry function for zip

This commit is contained in:
Erica Marigold 2025-01-16 08:48:03 +00:00
parent 4da1e25967
commit f4f05b8264
Signed by: DevComp
GPG key ID: 429EF1C337871656

View file

@ -55,8 +55,9 @@ local extractBinary: {
if executablePlatform:isOk() and eq(executablePlatform:unwrap(), targetPlatform) then if executablePlatform:isOk() and eq(executablePlatform:unwrap(), targetPlatform) then
return contents return contents
end end
end
return nil
end
-- Find the entry and attempt to extract it -- Find the entry and attempt to extract it
local binaryEntry = reader:findEntry(binaryName) local binaryEntry = reader:findEntry(binaryName)