fix(core): update

This commit is contained in:
2024-06-06 20:48:02 +02:00
parent 39fb6e8ad1
commit b860aca103
2 changed files with 3 additions and 2 deletions

View File

@@ -122,6 +122,7 @@ export class SmartArchive {
if (analyzedResultChunk.fileType?.mime === 'application/x-tar') {
const tarStream = analyzedResultChunk.decompressionStream as plugins.tarStream.Extract;
tarStream.on('entry', async (header, stream, next) => {
console.log(`tar stream file: ${header.name}`);
const streamfile = plugins.smartfile.StreamFile.fromStream(stream, header.name);
streamFileIntake.push(streamfile);
stream.on('end', function () {