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/lib
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2014-09-20 03:24:44 +0400
committerisaacs <i@izs.me>2014-09-20 03:29:10 +0400
commite098aa864ec55be220b139d802b0794dfe20acea (patch)
treec2c4d5591f20ed02ab2eee1e4623fd56a8cd121a /lib
parent6784767fe15e28b44c81a1d4bb1738c642a65d78 (diff)
trivial spacing fix
Diffstat (limited to 'lib')
-rw-r--r--lib/cache/add-remote-git.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/cache/add-remote-git.js b/lib/cache/add-remote-git.js
index 97823daef..2b01a378d 100644
--- a/lib/cache/add-remote-git.js
+++ b/lib/cache/add-remote-git.js
@@ -262,11 +262,11 @@ function addModeRecursive(p, mode, cb) {
}
function addMode(p, mode, cb) {
- fs.stat(p, function (er, stats) {
- if (er) return cb(er)
- mode = stats.mode | mode
- fs.chmod(p, mode, cb)
- })
+ fs.stat(p, function (er, stats) {
+ if (er) return cb(er)
+ mode = stats.mode | mode
+ fs.chmod(p, mode, cb)
+ })
}
// taken from https://github.com/isaacs/chmodr/blob/master/chmodr.js