Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

typo in root cmd

  • Loading branch information...
commit 5accaaa6f0aa19a1c43e51a162d0b87aa4d676ee 1 parent a4c4e09
@isaacs isaacs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/root.js
View
2  lib/root.js
@@ -7,5 +7,5 @@ root.usage = "npm root\nnpm root -g\n(just prints the root folder)"
function root (args, silent, cb) {
if (typeof cb !== "function") cb = silent, silent = false
if (!silent) console.log(npm.dir)
- process.nextTic(cb.bind(this, null, npm.dir))
+ process.nextTick(cb.bind(this, null, npm.dir))
}

2 comments on commit 5accaaa

@rdrey

I just ran into this issue.

sudo npm update -g npm didn't fix it. Are there any other ways of updating npm (other than the manual fix for this, which I've just done.)?

@isaacs
Owner

It hasn't been published in a release yet. You can do npm i -g git://github.com/isaacs/npm to fetch master from github.

Please sign in to comment.
Something went wrong with that request. Please try again.