lib/vendorer.rb in vendorer-0.1.13 vs lib/vendorer.rb in vendorer-0.1.14
- old
+ new
@@ -65,10 +65,10 @@
def from(url, options={})
Dir.mktmpdir do |tmpdir|
download_repository url, tmpdir, options
@copy_from_url, @copy_from_path = url, tmpdir
- yield
+ yield(@copy_from_path)
@copy_from_url = @copy_from_path = nil
end
end
private