Fix script to make directories recursively (#3027)
This commit is contained in:
parent
b411437a15
commit
8beeb93aee
|
@ -9,6 +9,6 @@ exports.default = async function beforePack(context) {
|
|||
// So we have to manually create it first
|
||||
var dir = path.join(context.outDir, context.packager.appInfo.version)
|
||||
if (!fs.existsSync(dir)){
|
||||
fs.mkdirSync(dir);
|
||||
fs.mkdirSync(dir, {recursive: true});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue