summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-02-21 00:43:22 +0800
committerruki <[email protected]>2025-02-21 00:43:22 +0800
commite613142a689d913a7513e9d2e03aca921d7dcff4 (patch)
treec152ada51fc77e5f3c34324626f816723c4f1e3b
parenta42e27ecfc8305feb9c9db0ed7cb4dcba349fe85 (diff)
trim spaces
-rw-r--r--xmake/modules/private/action/require/impl/actions/download.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/action/require/impl/actions/download.lua b/xmake/modules/private/action/require/impl/actions/download.lua
index 13a81698e..cb65183ad 100644
--- a/xmake/modules/private/action/require/impl/actions/download.lua
+++ b/xmake/modules/private/action/require/impl/actions/download.lua
@@ -222,9 +222,9 @@ function _download(package, url, sourcedir, opt)
local extension = archive.extension(packagefile)
local errors
local ok = try {
- function()
+ function()
archive.extract(packagefile, sourcedir_tmp, {excludes = opt.url_excludes})
- return true
+ return true
end,
catch {
function (errs)