"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = mkdirp;

const mkdir = require('mkdirp');

function mkdirp(path, opts = {}) {
  return new Promise((resolve, reject) => {
    // $FlowFixMe
    mkdir(path, opts, err => {
      if (err) return reject(err);
      return resolve(true);
    });
  });
}