diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/root.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/root.js b/lib/root.js index 409b20b78..b2f731ed5 100644 --- a/lib/root.js +++ b/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)) } |