From b183f6326762e3797ad65fe81051f1e03494e331 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 2 Jan 2019 22:56:04 +0800 Subject: use color.error and color.warning styles --- xmake/modules/private/platform/check_xcode.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmake/modules/private/platform/check_xcode.lua') diff --git a/xmake/modules/private/platform/check_xcode.lua b/xmake/modules/private/platform/check_xcode.lua index c86e3cb80..d56ed4c33 100644 --- a/xmake/modules/private/platform/check_xcode.lua +++ b/xmake/modules/private/platform/check_xcode.lua @@ -39,9 +39,9 @@ function main(config, optional) elseif not optional then -- failed - cprint("${bright red}please run:") - cprint("${red} - xmake config --xcode=xxx") - cprint("${red}or - xmake global --xcode=xxx") + cprint("${color.error}please run:") + cprint(" - xmake config --xcode=xxx") + cprint("or - xmake global --xcode=xxx") raise() end -- cgit v1.3.1