summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-12-08 23:27:16 +0800
committerruki <[email protected]>2021-12-08 23:27:16 +0800
commit6bd17831f2f68610a229f8802e4cd7d3060c7ee8 (patch)
tree424f0f971c62b9894762d9cc35017194140cd8d7
parentbf56b9e48181726b6764ea47ea271fbde47a6f3c (diff)
remove debug lines
-rw-r--r--xmake/core/base/os.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 812451afd..a4fdb570e 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -143,21 +143,18 @@ end
-- remove single file or directory
function os._rm(filedir)
- print("rm", filedir)
-- check
assert(filedir)
-- is file or link?
if os.isfile(filedir) or os.islink(filedir) then
- print("rmfile")
-- remove file
if not os.rmfile(filedir) then
return false, string.format("cannot remove file %s %s", filedir, os.strerror())
end
-- is directory?
elseif os.isdir(filedir) then
- print("rmdir")
-- remove directory
if not os.rmdir(filedir) then
return false, string.format("cannot remove directory %s %s", filedir, os.strerror())
@@ -453,7 +450,6 @@ end
-- remove files or directories
function os.rm(filepath)
- print("rmssss", filepath)
-- check arguments
if not filepath then