"use strict";
const mkdirp = require('mkdirp');
const debug_1 = require('../debug');
const debug = debug_1.default('pnpm:mkdirp');
/**
 * mkdir -p as a promise.
 */
function default_1(path) {
    return new Promise((resolve, reject) => {
        debug(path);
        mkdirp(path, (err) => err ? reject(err) : resolve(path));
    });
}
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = default_1;
//# sourceMappingURL=mkdirp.js.map