We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9d2fa2 commit 4670e9bCopy full SHA for 4670e9b
lib/util/fix-owner.js
@@ -37,5 +37,8 @@ function mkdirfix (p, uid, gid, cb) {
37
if (made) {
38
return fixOwner(made, uid, gid).then(() => made)
39
}
40
+ }).catch({code: 'EEXIST'}, () => {
41
+ // There's a race in mkdirp!
42
+ return fixOwner(p, uid, gid).then(() => null)
43
})
44
0 commit comments