diff options
| author | ruki <[email protected]> | 2020-09-21 23:23:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-21 23:23:10 +0800 |
| commit | bb9a534a3f966d6f9c93bc843f3c5eb2ffab7575 (patch) | |
| tree | 37fec91ed7698ca5852768287aeaa3b897967e6c | |
| parent | 9327e1f65314ca545ba8d71a1a4422438e12d5d3 (diff) | |
improve error tips
| -rw-r--r-- | xmake/core/base/os.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 32f046ec0..50655d980 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -98,7 +98,7 @@ function os._cp(src, dst, rootdir) -- not exists? else - return false, string.format("cannot copy file %s, not found this file", src) + return false, string.format("cannot copy file %s, file not found!", src) end -- ok @@ -125,7 +125,7 @@ function os._mv(src, dst) end -- not exists? else - return false, string.format("cannot move %s to %s, not found this file %s", src, dst, os.strerror()) + return false, string.format("cannot move %s to %s, file %s not found!", src, dst, os.strerror()) end -- ok |
