lib/autobuild/importer.rb in autobuild-1.5.38 vs lib/autobuild/importer.rb in autobuild-1.5.39
- old
+ new
@@ -125,11 +125,10 @@
def fallback(error, package, *args, &block)
Importer.fallback_handlers.each do |handler|
fallback_importer = handler.call(package, self)
if fallback_importer.kind_of?(Importer)
begin
- fallback_importer.send(*args, &block)
- return
+ return fallback_importer.send(*args, &block)
rescue Exception
raise error
end
end
end