fix build

This commit is contained in:
2022-04-04 16:28:40 +02:00
parent 69cf63c80a
commit a71fdf805d
11 changed files with 134 additions and 101 deletions

View File

@ -60,8 +60,9 @@ export class SmartArchive {
stream.on('end', () => {
replaySubject.next(
new plugins.smartfile.Smartfile({
base: null, // no working directory for this one
contentBuffer: fileBuffer,
path: header.name,
path: `./${header.name}`
})
);
next();

View File

@ -15,6 +15,8 @@ export { smartfile, smartpath, smartrequest, smartunique, streamfunction, smartr
// third party scope
import gunzipMaybe from 'gunzip-maybe';
// @ts-ignore
import tar from 'tar';
import tarStream from 'tar-stream';