lib/vagabond/vagabond.rb in vagabond-0.1.2 vs lib/vagabond/vagabond.rb in vagabond-0.1.4
- old
+ new
@@ -69,10 +69,10 @@
end
protected
def setup_ui
- Chef::Config[:color] = Config[:color]
+ Chef::Config[:color] = Config[:color].nil? ? true : Config[:color]
@ui = Chef::Knife::UI.new(STDOUT, STDERR, STDIN, {})
self.class.ui = @ui
end
def validate!