Fix Style/PercentLiteralDelimiters cop (#30006)

This commit is contained in:
Matt Jankowski
2024-04-19 16:32:26 -04:00
committed by GitHub
parent d24462c81a
commit 8d47ba893a
3 changed files with 3 additions and 10 deletions

View File

@@ -150,7 +150,7 @@ Doorkeeper.configure do
#
# You can use this option in order to forbid URI's with 'javascript' scheme
# for example.
forbid_redirect_uri { |uri| %w[data vbscript javascript].include?(uri.scheme.to_s.downcase) }
forbid_redirect_uri { |uri| %w(data vbscript javascript).include?(uri.scheme.to_s.downcase) }
# Specify what grant flows are enabled in array of Strings. The valid
# strings and the flows they enable are: