fix(core): update

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

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),
});