mirror of
https://github.com/actions/labeler.git
synced 2025-12-17 23:59:40 +00:00
build
This commit is contained in:
5
node_modules/mkdirp/index.js
generated
vendored
5
node_modules/mkdirp/index.js
generated
vendored
@@ -17,7 +17,7 @@ function mkdirP (p, opts, f, made) {
|
||||
var xfs = opts.fs || fs;
|
||||
|
||||
if (mode === undefined) {
|
||||
mode = _0777 & (~process.umask());
|
||||
mode = _0777
|
||||
}
|
||||
if (!made) made = null;
|
||||
|
||||
@@ -31,6 +31,7 @@ function mkdirP (p, opts, f, made) {
|
||||
}
|
||||
switch (er.code) {
|
||||
case 'ENOENT':
|
||||
if (path.dirname(p) === p) return cb(er);
|
||||
mkdirP(path.dirname(p), opts, function (er, made) {
|
||||
if (er) cb(er, made);
|
||||
else mkdirP(p, opts, cb, made);
|
||||
@@ -61,7 +62,7 @@ mkdirP.sync = function sync (p, opts, made) {
|
||||
var xfs = opts.fs || fs;
|
||||
|
||||
if (mode === undefined) {
|
||||
mode = _0777 & (~process.umask());
|
||||
mode = _0777
|
||||
}
|
||||
if (!made) made = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user