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.rb23
1 files changed, 11 insertions, 12 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index e78e337fa..29e82ac3c 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -5,9 +5,8 @@ class PythonVersion < Requirement
satisfy { `python -c 'import sys;print(sys.version[:3])'`.strip.to_f >= 2.6 }
- def message; <<-EOS.undent
- Node's build system, gyp, requires Python 2.6 or newer.
- EOS
+ def message;
+ "Node's build system, gyp, requires Python 2.6 or newer."
end
end
@@ -19,15 +18,15 @@ class NpmNotInstalled < Requirement
end
def message; <<-EOS.undent
- The homebrew node recipe now (beginning with 0.8.0) comes with npm.
- It appears you already have npm installed at #{modules_folder}/npm.
- To use the npm that comes with this recipe,
- first uninstall npm with `npm uninstall npm -g`.
- Then run this command again.
-
- If you would like to keep your installation of npm instead of
- using the one provided with homebrew,
- install the formula with the --without-npm option added.
+ The homebrew node recipe now (beginning with 0.8.0) comes with npm.
+ It appears you already have npm installed at #{modules_folder}/npm.
+ To use the npm that comes with this recipe,
+ first uninstall npm with `npm uninstall npm -g`.
+ Then run this command again.
+
+ If you would like to keep your installation of npm instead of
+ using the one provided with homebrew,
+ install the formula with the --without-npm option added.
EOS
end