summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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