Only colorize the action when logging results.
This commit is contained in:
parent
c39808c5c9
commit
6486693b80
@ -16,7 +16,8 @@ module Compass
|
|||||||
:exists => :green,
|
:exists => :green,
|
||||||
:directory => :green,
|
:directory => :green,
|
||||||
:identical => :green,
|
:identical => :green,
|
||||||
:convert => :green
|
:convert => :green,
|
||||||
|
:unchanged => :yellow
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -32,8 +33,9 @@ module Compass
|
|||||||
def record(action, *arguments)
|
def record(action, *arguments)
|
||||||
msg = ""
|
msg = ""
|
||||||
msg << color(ACTION_COLORS[action]) if Compass.configuration.color_output
|
msg << color(ACTION_COLORS[action]) if Compass.configuration.color_output
|
||||||
msg << "#{action_padding(action)}#{action} #{arguments.join(' ')}"
|
msg << "#{action_padding(action)}#{action}"
|
||||||
msg << color(:clear) if Compass.configuration.color_output
|
msg << color(:clear) if Compass.configuration.color_output
|
||||||
|
msg << " #{arguments.join(' ')}"
|
||||||
log msg
|
log msg
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user