summaryrefslogtreecommitdiff
path: root/lib/chef/formatters/indentable_output_stream.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/formatters/indentable_output_stream.rb')
-rw-r--r--lib/chef/formatters/indentable_output_stream.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/formatters/indentable_output_stream.rb b/lib/chef/formatters/indentable_output_stream.rb
index d508a32eb0..c2d835d951 100644
--- a/lib/chef/formatters/indentable_output_stream.rb
+++ b/lib/chef/formatters/indentable_output_stream.rb
@@ -20,7 +20,7 @@ class Chef
# pastel.decorate is a lightweight replacement for highline.color
def pastel
@pastel ||= begin
- require "pastel"
+ require "pastel" unless defined?(Pastel)
Pastel.new
end
end