Skip to content

Commit 236cdae

Browse files
committed
(MAINT) Disable progress bars always
1 parent 5938033 commit 236cdae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/puppet-strings.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ def self.generate(search_patterns = DEFAULT_SEARCH_PATTERNS, options = {})
2727

2828
# Format the arguments to YARD
2929
args = ['doc']
30+
args << '--no-progress'
3031
args << '--debug' if options[:debug]
31-
args << '--backtrace' if options[:backtrace]
32+
args << '--backtrace' if options[:debug]
3233
args << "-m#{options[:markup] || 'markdown'}"
3334

3435
file = nil
@@ -42,7 +43,6 @@ def self.generate(search_patterns = DEFAULT_SEARCH_PATTERNS, options = {})
4243
args << '-n'
4344
args << '-q' unless file
4445
args << '--no-stats' unless file
45-
args << '--no-progress' unless file
4646
end
4747

4848
yard_args = options[:yard_args]

0 commit comments

Comments
 (0)