Skip to content
Snippets Groups Projects
Commit 715f8084 authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

roll back stricter version check

parent cef5429f
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,9 @@ class Formula
set_instance_variable 'version'
# Otherwise detect the version from the URL
@version ||= @spec_to_use.detect_version
validate_variable :version
# Only validate if a version was set; GitHubGistFormula needs to get
# the URL to determine the version
validate_variable :version if @version
CHECKSUM_TYPES.each { |type| set_instance_variable type }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment