Rephrase conditional
This commit is contained in:
parent
625d61fe5d
commit
7c0f474d26
@ -121,7 +121,7 @@ class FormulaCreator
|
||||
class #{Formula.class_s name} < Formula
|
||||
homepage ''
|
||||
url '#{url}'
|
||||
<% if not version.nil? and not version.detected_from_url? %>
|
||||
<% unless version.nil? or version.detected_from_url? %>
|
||||
version '#{version}'
|
||||
<% end %>
|
||||
sha1 '#{sha1}'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user