Mkdir recursive
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-07-13 14:31:50 +02:00
parent 838b8a5382
commit 99aa6b666d
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ module.exports = Self => {
const tempPath = path.join(rootPath, 'temp'); const tempPath = path.join(rootPath, 'temp');
// Create temporary path // Create temporary path
await fs.mkdir(tempPath); await fs.mkdir(tempPath, {recursive: true});
for (let image of imageQueue) { for (let image of imageQueue) {
const fileName = `${image.itemFk}.png`; const fileName = `${image.itemFk}.png`;