We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0574a34 commit 357e978Copy full SHA for 357e978
lib/rubocop/socketry/style/global_exception_variables.rb
@@ -36,8 +36,7 @@ module Style
36
# puts error.backtrace.first
37
# end
38
class GlobalExceptionVariables < RuboCop::Cop::Base
39
- MSG = "Avoid using global exception variable `%<variable>s`. " \
40
- "Use explicit exception handling with `rescue => error` instead."
+ MSG = "Avoid using global exception variable `%<variable>s`. Use explicit exception handling with `rescue => error` instead."
41
42
EXCEPTION_VARIABLES = %i[$! $@ $ERROR_INFO $ERROR_POSITION].freeze
43
0 commit comments