Skip to content

Commit

Permalink
fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonHoenscheid committed Aug 23, 2023
1 parent 9aac3c2 commit 99e1010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/postgresql_conf/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def parse_config
line_number = index + 1
matches = line.match(active_values_regex)
if matches
attributes_hash = { line_number: line_number, key: matches[:key], ensure: 'present', value: matches[:value].gsub("'", ''), comment: matches[:comment] }
attributes_hash = { line_number: line_number, key: matches[:key], ensure: 'present', value: matches[:value].delete("'"), comment: matches[:comment] }
active_settings.push(attributes_hash)
end
end
Expand Down

0 comments on commit 99e1010

Please sign in to comment.