UNPKG

185 BJavaScriptView Raw
1'use strict';
2
3exports.mkdirp = (dir, opts) => {
4 let mkdirp = require('mkdirp');
5 return new Promise((resolve, reject) => mkdirp(dir, opts, err => err ? reject(err) : resolve()));
6};
\No newline at end of file