Event callback
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2023-03-12 20:51:22 +01:00
parent 79428755db
commit 1b984f4325
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ module.exports = Self => {
writeStream.on('open', () => response.pipe(writeStream));
writeStream.on('error', async error =>
await errorHandler(image.itemFk, error, filePath));
writeStream.on('finish', writeStream.end());
writeStream.on('finish', () => writeStream.end());
writeStream.on('close', async function() {
try {