diff options
| author | ruki <[email protected]> | 2019-01-02 22:37:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-02 09:42:04 +0800 |
| commit | cc976c3fc70c83373e2984ee26ccbff4df5efa85 (patch) | |
| tree | 4bfe845d1040fc15a798bffbb8aebbd241f8550d /xmake/core/base/utils.lua | |
| parent | 59c8c59a2983c329118f7839b9949635a85183f5 (diff) | |
add plain theme
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 dd54fb9ae..27e59c253 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("${bright red}error: ${clear}" .. string.tryformat(format, ...)) + utils.cprint("${color.error}error: ${clear}" .. string.tryformat(format, ...)) log:flush() end end @@ -162,7 +162,7 @@ function utils.warning(format, ...) assert(format) -- format message - local msg = "${bright yellow}warning: ${default yellow}" .. string.tryformat(format, ...) + local msg = "${color.warning}warning: ${default yellow}" .. string.tryformat(format, ...) -- init warnings utils._WARNINGS = utils._WARNINGS or {} |
