Skip to content

Commit

Permalink
Update lib/puppetlabs_spec_helper/rake_tasks.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
  • Loading branch information
bastelfreak and ekohl committed Apr 9, 2024
1 parent d8f1389 commit 4b71f75
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/puppetlabs_spec_helper/rake_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,7 @@
else

args = ['--type', 'rspec']
additional_options = if ENV['CI_SPEC_OPTIONS'].nil? || ENV['CI_SPEC_OPTIONS'].strip.empty?
['--format', 'progress']
else
ENV['CI_SPEC_OPTIONS'].strip.split + ['--format', 'progress']
end
additional_options = ['--format', 'progress'] + ENV['CI_SPEC_OPTIONS'].to_s.strip.split
args.push('--').concat(additional_options).push('--')

Check warning on line 116 in lib/puppetlabs_spec_helper/rake_tasks.rb

View check run for this annotation

Codecov / codecov/patch

lib/puppetlabs_spec_helper/rake_tasks.rb#L114-L116

Added lines #L114 - L116 were not covered by tests
args.concat(Rake::FileList[pattern].to_a)

Expand Down

0 comments on commit 4b71f75

Please sign in to comment.