diff options
| author | ruki <[email protected]> | 2019-01-03 22:37:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-03 09:45:01 +0800 |
| commit | 21539005098febb08e7331e14cae59639c9a21fc (patch) | |
| tree | 96b6eb1301a0cbae2fe532752bdc40b759994b41 /xmake/core/base/utils.lua | |
| parent | 22a3a1c21f41205fa5ea71a4fd0a0d9caa2b8963 (diff) | |
improve theme name
Diffstat (limited to 'xmake/core/base/utils.lua')
| -rw-r--r-- | xmake/core/base/utils.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua index 27e59c253..786c0bc6c 100644 --- a/xmake/core/base/utils.lua +++ b/xmake/core/base/utils.lua @@ -150,7 +150,7 @@ end -- print the error information function utils.error(format, ...) if format ~= nil then - utils.cprint("${color.error}error: ${clear}" .. string.tryformat(format, ...)) + utils.cprint("${color.error.bright}error: ${clear}" .. string.tryformat(format, ...)) log:flush() end end @@ -162,7 +162,7 @@ function utils.warning(format, ...) assert(format) -- format message - local msg = "${color.warning}warning: ${default yellow}" .. string.tryformat(format, ...) + local msg = "${color.warning.bright}warning: ${color.warning}" .. string.tryformat(format, ...) -- init warnings utils._WARNINGS = utils._WARNINGS or {} |
