From 5b4e9f3aef85818c2e590fe799eeadad162fe770 Mon Sep 17 00:00:00 2001 From: Stephen Greer Date: Tue, 19 Sep 2023 14:59:25 -0500 Subject: [PATCH] Linting --- lib/omniauth/strategies/base_strategy.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/omniauth/strategies/base_strategy.rb b/lib/omniauth/strategies/base_strategy.rb index f75af63..bd2e4b6 100644 --- a/lib/omniauth/strategies/base_strategy.rb +++ b/lib/omniauth/strategies/base_strategy.rb @@ -22,9 +22,8 @@ def public_key def client super rescue AttrRequired::AttrMissing - raise ClientCredentialsError.new( - "#{options[:name].camelize} client credentials not found. Please check your environment." - ) + raise ClientCredentialsError, + "#{options[:name].camelize} client credentials not found. Please check your environment." end def self.decode_logout_token(token)