diff options
| -rw-r--r-- | xmake/core/base/os.lua | 4 |
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 |
