(maint) Don't print extraneous "true".

Suppress it by printing an empty string instead.
This commit is contained in:
Ian Kronquist 2015-08-04 15:34:13 -07:00
parent c33f911f09
commit f7165d6634
1 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,12 @@ Puppet::Face.define(:strings, '0.0.1') do
#class YARD::Logger; def progress(*args); end; end
yardoc_actions.generate_documentation(*yard_args)
# Puppet prints the return value of the action. The return value of this
# action is that of the yardoc_actions invocation, which is the boolean
# "true". This clutters the statistics yard prints, so instead return the
# empty string. Note an extra newline will also be printed.
""
end
end