Skip to content

Commit ba603e1

Browse files
committed
style: bare rescue per Style/RescueStandardError
1 parent b2a6fac commit ba603e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/interscript.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def detect(source, destination, **kwargs)
9191
def locate_map_gems_yaml
9292
found = begin
9393
Gem.find_latest_files("interscript-maps.yaml")
94-
rescue StandardError
94+
rescue
9595
nil
9696
end
9797
return found if found.is_a?(Array) && found.any?

0 commit comments

Comments
 (0)