aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/create.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb
index 4c48f12e3..ae192eb7b 100644
--- a/Library/Homebrew/cmd/create.rb
+++ b/Library/Homebrew/cmd/create.rb
@@ -125,7 +125,7 @@ class FormulaCreator
<% if mode == :cmake %>
depends_on 'cmake' => :build
- <% elsif mode == nil %>
+ <% elsif mode.nil? %>
# depends_on 'cmake' => :build
<% end %>
depends_on :x11 # if your formula requires any X11/XQuartz components