Merge pull request #6 from petems/supress_yard_warnings

Add -q option to suppress warnings for server
This commit is contained in:
Hailee Kenney 2014-09-30 11:53:56 -07:00
commit 2f7c9e1888
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ Puppet::Face.define(:strings, '0.0.1') do
# The `-m` flag means a list of name/path pairs will follow. The name is # The `-m` flag means a list of name/path pairs will follow. The name is
# used as the module name and the path indicates which `.yardoc` index to # used as the module name and the path indicates which `.yardoc` index to
# generate documentation from. # generate documentation from.
yard_args = %w[-m] + module_tuples.flatten yard_args = %w[-m -q] + module_tuples.flatten
merge_puppet_args!(yard_args) merge_puppet_args!(yard_args)
YARD::CLI::Server.run(*yard_args) YARD::CLI::Server.run(*yard_args)