diff options
| author | ruki <[email protected]> | 2022-10-06 21:02:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-10-06 21:02:15 +0800 |
| commit | b4e1fca9c48a5dbfc4d0593edd4c49d82d59af60 (patch) | |
| tree | b4153f17bd9946f1fa44f1254bc8a52065138cd5 /xmake/modules | |
| parent | 09d1ba573f8d2c7d59dd3361435229fbd8060d51 (diff) | |
fix error
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/action/clean/remove_files.lua | 2 |
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 |
