aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/node.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index 0574281b2..cccc43cd3 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -55,8 +55,8 @@ class Node < Formula
# Leopard OpenSSL is not new enough, so use our keg-only one
depends_on 'openssl' if MacOS.version == :leopard
- depends_on NpmNotInstalled.new unless build.include? 'without-npm'
- depends_on PythonVersion.new
+ depends_on NpmNotInstalled unless build.include? 'without-npm'
+ depends_on PythonVersion
option 'enable-debug', 'Build with debugger hooks'
option 'without-npm', 'npm will not be installed'