aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/node.rb')
-rw-r--r--Library/Formula/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index 1a272cc24..87656efa0 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -45,7 +45,7 @@ class Node < Formula
option 'without-npm', 'npm will not be installed'
depends_on NpmNotInstalled unless build.without? 'npm'
- depends_on PythonInstalled.new("2.6") => :build
+ depends_on :python => ["2.6", :build]
fails_with :llvm do
build 2326