Skip to content

Do not query for the exact facter version #62

Do not query for the exact facter version

Do not query for the exact facter version #62

Triggered via pull request July 6, 2023 12:11
Status Failure
Total duration 1m 46s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 errors
rubocop: spec/rspec_puppet_facts_spec.rb#L857
Lint/AmbiguousBlockAssociation: Parenthesize the param `receive(:get_facts).with( {:operatingsystem=>"CentOS", :operatingsystemrelease=>"/^7/", :hardwaremodel=>"x86_64"} ).and_wrap_original { |m, *args| m.call(*args).reject { |facts| facts[:facterversion].start_with?('3.9.') } }` to make sure that the block will be associated with the `receive(:get_facts).with( {:operatingsystem=>"CentOS", :operatingsystemrelease=>"/^7/", :hardwaremodel=>"x86_64"} ).and_wrap_original` method call. (https://rubystyle.guide#syntax)
rubocop: spec/rspec_puppet_facts_spec.rb#L858
Style/TrailingCommaInArguments: Put a comma after the last parameter of a multiline method call. (https://rubystyle.guide#no-trailing-params-comma)
rubocop
Process completed with exit code 1.