summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2021-08-13 14:29:08 +0800
committerGitHub <[email protected]>2021-08-13 14:29:08 +0800
commitb9190cc9abfb901cad0955011268be618fa0cc6b (patch)
tree44b341d318bc2b297f7c99dd80ef447fb6801fab /xmake/modules
parent6c7b2af719ea55060b098af973556e5ecf2dff51 (diff)
Update extract.lua
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/utils/archive/extract.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmake/modules/utils/archive/extract.lua b/xmake/modules/utils/archive/extract.lua
index d9299b799..2c0b8fb8d 100644
--- a/xmake/modules/utils/archive/extract.lua
+++ b/xmake/modules/utils/archive/extract.lua
@@ -389,15 +389,11 @@ end
-- extract archive file using extractors
function _extract(archivefile, outputdir, extension, extractors, opt)
-
- -- extract it
for _, extract in ipairs(extractors) do
if extract(archivefile, outputdir, extension, opt) then
return true
end
end
-
- -- failed
return false
end