Skip to content

Commit 859b55d

Browse files
committed
remove trailing whitespace
1 parent 680627c commit 859b55d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/provider/mysql_grant/mysql.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def self.instances
3030
if match = munged_grant.match(/^GRANT\s(.+)\sON\s(.+)\sTO\s(.*)@(.*?)(\s.*)$/)
3131
privileges, table, user, host, rest = match.captures
3232
# split on ',' if it is not a non-'('-containing string followed by a
33-
# closing parenthesis ')'-char - e.g. only split comma separated elements not in
33+
# closing parenthesis ')'-char - e.g. only split comma separated elements not in
3434
# parentheses
3535
stripped_privileges = privileges.strip.split(/\s*,\s*(?![^(]*\))/).map{ |priv|
3636
# split and sort the column_privileges in the parentheses and rejoin

0 commit comments

Comments
 (0)