summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-07-30 11:53:06 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-07-30 11:53:06 -0700
commit583145222311d8fea812306bbc2a6c26b3db6b52 (patch)
tree0e42f2d65df740c62397a7483c887d3ba513781e /lib
parent8d606523162fc1d589ec008e1510baecee188dac (diff)
downloadchef-583145222311d8fea812306bbc2a6c26b3db6b52.tar.gz
add note on why commented line is commented
Diffstat (limited to 'lib')
-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