Skip to content

Commit 41c66d1

Browse files
committed
Ignore Rails/Exit warning in rescue clause
This is fine.
1 parent d9c3f77 commit 41c66d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/lib/generators/spree/custom_user/custom_user_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def check_for_constant
1515
klass
1616
rescue NameError
1717
@shell.say "Couldn't find #{class_name}. Are you sure that this class exists within your application and is loaded?", :red
18-
exit(1)
18+
exit(1) # rubocop: disable Rails/Exit
1919
end
2020

2121
def generate

0 commit comments

Comments
 (0)