ghaction-github-pages/node_modules/fs-extra/lib/mkdirs/index.js

15 lines
328 B
JavaScript
Raw Normal View History

2019-11-15 23:20:34 +08:00
'use strict'
2020-03-23 17:00:06 +08:00
const u = require('universalify').fromPromise
const { makeDir: _makeDir, makeDirSync } = require('./make-dir')
const makeDir = u(_makeDir)
2019-11-15 23:20:34 +08:00
module.exports = {
2020-03-23 17:00:06 +08:00
mkdirs: makeDir,
mkdirsSync: makeDirSync,
2019-11-15 23:20:34 +08:00
// alias
2020-03-23 17:00:06 +08:00
mkdirp: makeDir,
mkdirpSync: makeDirSync,
ensureDir: makeDir,
ensureDirSync: makeDirSync
2019-11-15 23:20:34 +08:00
}