fix(core): update
This commit is contained in:
parent
00a039936f
commit
e6192c418e
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartarchive',
|
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.'
|
description: 'A library for working with archive files, providing utilities for compressing and decompressing data.'
|
||||||
}
|
}
|
||||||
|
@ -104,7 +104,7 @@ export class TarTools {
|
|||||||
const fileStat = await plugins.smartfile.fs.stat(absolutePath);
|
const fileStat = await plugins.smartfile.fs.stat(absolutePath);
|
||||||
await this.addFileToPack(pack, {
|
await this.addFileToPack(pack, {
|
||||||
byteLength: fileStat.size,
|
byteLength: fileStat.size,
|
||||||
filePath: filePath,
|
filePath: absolutePath,
|
||||||
fileName: filePath,
|
fileName: filePath,
|
||||||
content: plugins.smartfile.fsStream.createReadStream(absolutePath),
|
content: plugins.smartfile.fsStream.createReadStream(absolutePath),
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user