GT2/GT2-Android/node_modules/mkdirp-promise/lib/index.js

10 lines
220 B
JavaScript
Executable File

'use strict'
const mkdirp = require('mkdirp')
module.exports = function (dir, opts) {
return new Promise((resolve, reject) => {
mkdirp(dir, opts, (err, made) => err === null ? resolve(made) : reject(err))
})
}