Skip to content

Modify array setting[6..] to setting[6..setting.length - 1] in ruby code #320

Modify array setting[6..] to setting[6..setting.length - 1] in ruby code

Modify array setting[6..] to setting[6..setting.length - 1] in ruby code #320

Triggered via pull request May 4, 2024 17:28
Status Failure
Total duration 48s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
37s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Puppet / Static validations: lib/puppet/type/elasticsearch_component_template.rb#L51
Style/SlicingWithRange: Prefer ary[n..] over ary[n..-1].
Puppet / Static validations: lib/puppet/type/elasticsearch_index_template.rb#L57
Style/SlicingWithRange: Prefer ary[n..] over ary[n..-1].
Puppet / Static validations: lib/puppet/type/elasticsearch_template.rb#L53
Style/SlicingWithRange: Prefer ary[n..] over ary[n..-1].
Puppet / Static validations
Process completed with exit code 1.