From e6192c418e76c4cd1de28ee03a315de7b2938c0a Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 8 Jun 2024 13:47:38 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/classes.tartools.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 904927d..5464dd9 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -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.' } diff --git a/ts/classes.tartools.ts b/ts/classes.tartools.ts index c50ee6a..2119300 100644 --- a/ts/classes.tartools.ts +++ b/ts/classes.tartools.ts @@ -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), });