fix(core): update

This commit is contained in:
Philipp Kunz 2024-06-08 13:47:38 +02:00
parent 00a039936f
commit e6192c418e
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartarchive',
version: '4.0.33',
version: '4.0.34',
description: 'A library for working with archive files, providing utilities for compressing and decompressing data.'
}

View File

@ -104,7 +104,7 @@ export class TarTools {
const fileStat = await plugins.smartfile.fs.stat(absolutePath);
await this.addFileToPack(pack, {
byteLength: fileStat.size,
filePath: filePath,
filePath: absolutePath,
fileName: filePath,
content: plugins.smartfile.fsStream.createReadStream(absolutePath),
});