Modify array setting[6..] to setting[6..setting.length - 1] in ruby code #320
ci.yml
on: pull_request
Puppet
/
Static validations
37s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
0s
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.
|