From 887cbfc61cb6619c05e000982175ae5da3a92c94 Mon Sep 17 00:00:00 2001 From: Alexander Kahn Date: Fri, 23 Apr 2010 15:40:09 -0400 Subject: [PATCH] Make old CLI deprecation warning red --- lib/compass/exec/helpers.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/compass/exec/helpers.rb b/lib/compass/exec/helpers.rb index be77022c..11d31dd6 100644 --- a/lib/compass/exec/helpers.rb +++ b/lib/compass/exec/helpers.rb @@ -5,7 +5,9 @@ module Compass::Exec if Compass::Commands.command_exists? arguments.first SubCommandUI else - Haml::Util.haml_warn "WARNING: This interface is deprecated. Please use the new subcommand interface.\nSee `compass help` for more information.\n" + Compass::Logger.new.red do + Haml::Util.haml_warn "WARNING: This interface is deprecated. Please use the new subcommand interface.\nSee `compass help` for more information.\n" + end SwitchUI end end