summaryrefslogtreecommitdiff
path: root/xmake/scripts/tools/rm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/tools/rm.lua')
-rw-r--r--xmake/scripts/tools/rm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/tools/rm.lua b/xmake/scripts/tools/rm.lua
index b05289b3b..47f57e68b 100644
--- a/xmake/scripts/tools/rm.lua
+++ b/xmake/scripts/tools/rm.lua
@@ -27,7 +27,7 @@ local rm = rm or {}
local os = require("base/os")
-- the main function
-function rm.main(...)
+function rm.main(self, ...)
-- rm all
for _, file_or_dir in ipairs(...) do