From bb9a534a3f966d6f9c93bc843f3c5eb2ffab7575 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 21 Sep 2020 23:23:10 +0800 Subject: improve error tips --- xmake/core/base/os.lua | 4 ++-- 1 file 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 -- cgit v1.3.1