Skip to content

Commit c830644

Browse files
author
jordanbreen28
committed
(CONT-802) - Style/RescueStandardError
1 parent 6205628 commit c830644

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.rubocop_todo.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ RSpec/RepeatedExampleGroupBody:
2222
Exclude:
2323
- 'spec/defines/config/server/realm_spec.rb'
2424

25-
# Offense count: 1
26-
# This cop supports safe autocorrection (--autocorrect).
27-
# Configuration parameters: EnforcedStyle.
28-
# SupportedStyles: implicit, explicit
29-
Style/RescueStandardError:
30-
Exclude:
31-
- 'spec/spec_helper.rb'
25+
# # Offense count: 1
26+
# # This cop supports safe autocorrection (--autocorrect).
27+
# # Configuration parameters: EnforcedStyle.
28+
# # SupportedStyles: implicit, explicit
29+
# Style/RescueStandardError:
30+
# Exclude:
31+
# - 'spec/spec_helper.rb'
3232

3333
# Offense count: 253
3434
# This cop supports safe autocorrection (--autocorrect).

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
begin
2828
default_facts.merge!(YAML.safe_load(File.read(f), [], [], true))
29-
rescue => e
29+
rescue StandardError => e
3030
RSpec.configuration.reporter.message "WARNING: Unable to load #{f}: #{e}"
3131
end
3232
end

0 commit comments

Comments
 (0)