small cleanup
This commit is contained in:
parent
527e101cab
commit
9ba3108cc3
|
@ -8,8 +8,9 @@ module Vagrant
|
||||||
|
|
||||||
def self.match?(uri)
|
def self.match?(uri)
|
||||||
# URI.parse barfs on '<drive letter>:\\files \on\ windows'
|
# URI.parse barfs on '<drive letter>:\\files \on\ windows'
|
||||||
uri = URI.extract(uri).first
|
# TODO temprorary
|
||||||
uri && uri.include?(uri)
|
extracted = URI.extract(uri).first
|
||||||
|
extracted && extracted.include?(uri)
|
||||||
end
|
end
|
||||||
|
|
||||||
def download!(source_url, destination_file)
|
def download!(source_url, destination_file)
|
||||||
|
|
Loading…
Reference in New Issue