summaryrefslogtreecommitdiff
path: root/xmake/scripts/tools/rm.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-11 16:58:01 +0800
committerruki <[email protected]>2015-06-11 16:58:01 +0800
commit882430fde4f0066e9adbbb664b98612fa4cf3bc1 (patch)
treef5eeeb2961d22bfd68a80d95404e07396791336e /xmake/scripts/tools/rm.lua
parent76fd1ccaf43262df8fae3d9d3bfba1c2f0e04ca5 (diff)
add self for tools
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