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