summaryrefslogtreecommitdiff
path: root/lib/chef/formatters/base.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-07-30 11:53:06 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-07-31 17:44:05 -0700
commitf7cb75d450991982fb11c54beed2fafb16ccfdd6 (patch)
treee8752f60a837f9e4c83500ad81f151792ebc528b /lib/chef/formatters/base.rb
parent0875b1cd90ca9d8b173c57b12b510359b5c01428 (diff)
downloadchef-f7cb75d450991982fb11c54beed2fafb16ccfdd6.tar.gz
add note on why commented line is commented
Diffstat (limited to 'lib/chef/formatters/base.rb')
-rw-r--r--lib/chef/formatters/base.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/formatters/base.rb b/lib/chef/formatters/base.rb
index af041a5081..c901068aa0 100644
--- a/lib/chef/formatters/base.rb
+++ b/lib/chef/formatters/base.rb
@@ -94,6 +94,8 @@ class Chef
def indent_by(amount)
@output.indent += amount
if @output.indent < 0
+ # This is left commented out for now. We need to uncomment it and fix at least one bug in
+ # the formatter, and then leave this line uncommented in the future.
#Chef::Log.warn "Internal Formatter Error -- Attempt to indent by negative number of spaces"
@output.indent = 0
end