Mkdir recursive
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
838b8a5382
commit
99aa6b666d
|
@ -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`;
|
||||||
|
|
Loading…
Reference in New Issue