Skip to content

Commit d37b3cf

Browse files
author
Jonathan Claudius
committed
Use next instead of return
1 parent f58dc27 commit d37b3cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/post/multi/gather/rubygems_api_key.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def download_loot(paths)
4747
if key = YAML.load(read_file(path))[:rubygems_api_key]
4848
rubygems_api_key = key
4949
else
50-
return
50+
next
5151
end
5252

5353
print_good("Found a RubyGems API Key: #{rubygems_api_key}")

0 commit comments

Comments
 (0)