cooperation
Version:
17 lines (14 loc) • 300 B
JavaScript
const path = require('path')
const fse = require('fs-extra')
const projectPath=path.join(__dirname,'../../');
const dir = '';
console.log(projectPath);
/*
//构建目录
fse.ensureDir(dir, {
mode: 0o2775
}).then(() => {
console.log('success!')
}).catch(err => {
console.error(err)
})*/