Skip to content

Commit 03f754a

Browse files
committed
disable rubocop Style/PredicateName for is_to_s()
1 parent 7de4f58 commit 03f754a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/puppet/type/mysql_user.rb

+2
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ def change_to_s(currentvalue, _newvalue)
5151
(currentvalue == :absent) ? 'created password' : 'changed password'
5252
end
5353

54+
# rubocop:disable Style/PredicateName
5455
def is_to_s(_currentvalue)
5556
'[old password hash redacted]'
5657
end
58+
# rubocop:enable Style/PredicateName
5759

5860
def should_to_s(_newvalue)
5961
'[new password hash redacted]'

0 commit comments

Comments
 (0)