Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cli.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli.js')
-rwxr-xr-xcli.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.js b/cli.js
index 013a3446c..7eb3b34ea 100755
--- a/cli.js
+++ b/cli.js
@@ -5,7 +5,7 @@ log.waitForConfig()
log.info("ok", "it worked if it ends with")
if (__filename.match(/Cellar\/npm\/[^\/]+\/libexec\/cli.js$/)
- ||process.execPath.match(/Cellar\/node\/[^\/]+\/bin\/node$/) {
+ ||process.execPath.match(/Cellar\/node\/[^\/]+\/bin\/node$/)) {
log.warn("This program is not compatible with Homebrew."
+"\n brew rm npm ; brew rm node"
+"\nThen use one of the techniques in this gist instead:"