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
diff options
context:
space:
mode:
-rw-r--r--lib/root.js2
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))
}