add missing loop return during image unpacking

It was a harmless bug, rest of zip entries didn't pass the name filter.
This commit is contained in:
Dmitry Muhomor 2023-10-07 17:43:50 +03:00 committed by Daniel Micay
parent 66f45afaae
commit 22256ea40b

View file

@ -448,6 +448,7 @@ async function unpackFactoryImage(factoryImagePath: string, image: DeviceImage,
await fs.rename(unpackedTmp, out) await fs.rename(unpackedTmp, out)
console.log('unpacked ' + getUnpackedFactoryDirName(image)) console.log('unpacked ' + getUnpackedFactoryDirName(image))
return
} }
} finally { } finally {
await fd.close() await fd.close()