From b4e1fca9c48a5dbfc4d0593edd4c49d82d59af60 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 6 Oct 2022 21:02:15 +0800 Subject: fix error --- xmake/modules/private/action/clean/remove_files.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1