diff options
author | isaacs <i@izs.me> | 2014-09-20 03:24:44 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2014-09-20 03:29:10 +0400 |
commit | e098aa864ec55be220b139d802b0794dfe20acea (patch) | |
tree | c2c4d5591f20ed02ab2eee1e4623fd56a8cd121a /lib | |
parent | 6784767fe15e28b44c81a1d4bb1738c642a65d78 (diff) |
trivial spacing fix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cache/add-remote-git.js | 10 |
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 |