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:
Diffstat (limited to 'lib/config/load-uid.js')
-rw-r--r--lib/config/load-uid.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/config/load-uid.js b/lib/config/load-uid.js
index 3ca798773..859eac749 100644
--- a/lib/config/load-uid.js
+++ b/lib/config/load-uid.js
@@ -1,14 +1,14 @@
module.exports = loadUid
-var getUid = require("uid-number")
+var getUid = require('uid-number')
// Call in the context of a npmconf object
function loadUid (cb) {
// if we're not in unsafe-perm mode, then figure out who
// to run stuff as. Do this first, to support `npm update npm -g`
- if (!this.get("unsafe-perm")) {
- getUid(this.get("user"), this.get("group"), cb)
+ if (!this.get('unsafe-perm')) {
+ getUid(this.get('user'), this.get('group'), cb)
} else {
process.nextTick(cb)
}