diff options
Diffstat (limited to 'xmake/plugins/lua/scripts/rm.lua')
| -rw-r--r-- | xmake/plugins/lua/scripts/rm.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xmake/plugins/lua/scripts/rm.lua b/xmake/plugins/lua/scripts/rm.lua index 3f6b35a8a..2bf625349 100644 --- a/xmake/plugins/lua/scripts/rm.lua +++ b/xmake/plugins/lua/scripts/rm.lua @@ -24,13 +24,6 @@ -- main function main(...) - - -- rm all - for _, file_or_dir in ipairs(...) do - if os.exists(file_or_dir) then - os.rm(file_or_dir) - end - end - + os.rm(...) end |
