mirror of
https://github.com/pesde-pkg/tooling.git
synced 2025-04-10 22:00:56 +01:00
refactor(lib): use extractEntry function
This commit is contained in:
parent
e223c58b2f
commit
863d1ce95d
1 changed files with 1 additions and 6 deletions
|
@ -71,12 +71,7 @@ local extractBinary: {
|
|||
return
|
||||
end
|
||||
|
||||
local contents = reader:extract(entry, { type = "binary" }) :: buffer
|
||||
local executablePlatform = PlatformDescriptor.fromExecutable(contents)
|
||||
|
||||
if executablePlatform:isOk() and eq(executablePlatform:unwrap(), targetPlatform) then
|
||||
binaryContents = contents
|
||||
end
|
||||
extractEntry(entry)
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue