Skip to content

Commit 7de4f58

Browse files
committed
make Rubocop happier
1 parent 7d5874a commit 7de4f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/type/mysql_user.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
newvalue(%r{\w*})
4949

5050
def change_to_s(currentvalue, _newvalue)
51-
currentvalue == :absent ? 'created password' : 'changed password'
51+
(currentvalue == :absent) ? 'created password' : 'changed password'
5252
end
5353

5454
def is_to_s(_currentvalue)

0 commit comments

Comments
 (0)