Merge pull request #1691 from MikeMcQuaid/create-version-null

create: handle Version::NULL correctly.
This commit is contained in:
Mike McQuaid 2016-12-18 15:23:56 -08:00 committed by GitHub
commit 201b45d2ca

View File

@ -119,7 +119,7 @@ class FormulaCreator
if @version
@version = Version.create(@version)
else
@version = Pathname.new(url).version
@version = Version.detect(url, {})
end
end