Skip to content

Commit 4b71f75

Browse files
bastelfreakekohl
andauthored
Update lib/puppetlabs_spec_helper/rake_tasks.rb
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
1 parent d8f1389 commit 4b71f75

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/puppetlabs_spec_helper/rake_tasks.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,7 @@
112112
else
113113

114114
args = ['--type', 'rspec']
115-
additional_options = if ENV['CI_SPEC_OPTIONS'].nil? || ENV['CI_SPEC_OPTIONS'].strip.empty?
116-
['--format', 'progress']
117-
else
118-
ENV['CI_SPEC_OPTIONS'].strip.split + ['--format', 'progress']
119-
end
115+
additional_options = ['--format', 'progress'] + ENV['CI_SPEC_OPTIONS'].to_s.strip.split
120116
args.push('--').concat(additional_options).push('--')
121117
args.concat(Rake::FileList[pattern].to_a)
122118

0 commit comments

Comments
 (0)