Skip to content

Commit a96b321

Browse files
(PUP-11767) Fix KeywordParametersOrder violations and remove from todo list
1 parent 7e971c5 commit a96b321

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -534,11 +534,6 @@ Style/InverseMethods:
534534
- 'lib/puppet/reference/providers.rb'
535535
- 'lib/puppet/type/file.rb'
536536

537-
# This cop supports safe auto-correction (--auto-correct).
538-
Style/KeywordParametersOrder:
539-
Exclude:
540-
- 'lib/puppet/http/service/file_server.rb'
541-
542537
# This cop supports safe auto-correction (--auto-correct).
543538
# Configuration parameters: EnforcedStyle.
544539
# SupportedStyles: line_count_dependent, lambda, literal

lib/puppet/http/service/file_server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def get_file_metadata(path:, environment:, links: :manage, checksum_type: Puppet
100100
#
101101
# @api public
102102
#
103-
def get_file_metadatas(path: nil, environment:, recurse: :false, recurselimit: nil, max_files: nil, ignore: nil, links: :manage, checksum_type: Puppet[:digest_algorithm], source_permissions: :ignore) # rubocop:disable Lint/BooleanSymbol
103+
def get_file_metadatas(environment:, path: nil, recurse: :false, recurselimit: nil, max_files: nil, ignore: nil, links: :manage, checksum_type: Puppet[:digest_algorithm], source_permissions: :ignore) # rubocop:disable Lint/BooleanSymbol
104104
validate_path(path)
105105

106106
headers = add_puppet_headers('Accept' => get_mime_types(Puppet::FileServing::Metadata).join(', '))

0 commit comments

Comments
 (0)