summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-06 21:02:15 +0800
committerruki <[email protected]>2022-10-06 21:02:15 +0800
commitb4e1fca9c48a5dbfc4d0593edd4c49d82d59af60 (patch)
treeb4153f17bd9946f1fa44f1254bc8a52065138cd5 /xmake/modules
parent09d1ba573f8d2c7d59dd3361435229fbd8060d51 (diff)
fix error
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/private/action/clean/remove_files.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/clean/remove_files.lua b/xmake/modules/private/action/clean/remove_files.lua
index 19a2dd01b..606bb405d 100644
--- a/xmake/modules/private/action/clean/remove_files.lua
+++ b/xmake/modules/private/action/clean/remove_files.lua
@@ -23,7 +23,7 @@ import("core.base.option")
-- remove the given files or (empty) directories
function main(filedirs, opt)
- opt or {}
+ opt = opt or {}
for _, filedir in ipairs(filedirs) do
os.tryrm(filedir)
if option.get("all") or opt.emptydir then