node: fix indent

master
Adam Vandenberg 2013-02-01 18:39:14 -08:00
parent d45ecfa6d4
commit ddc3d741b9
1 changed files with 10 additions and 11 deletions

View File

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