We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e5501c commit 554e301Copy full SHA for 554e301
plugins/local-storage/src/local-fs.js
@@ -227,8 +227,9 @@ class LocalFS implements ILocalPackageManager {
227
return uploadStream;
228
}
229
230
- readTarball(name: string, readTarballStream: any, callback: Function = () => {}) {
+ readTarball(name: string) {
231
const pathName: string = this._getStorage(name);
232
+ const readTarballStream = new ReadTarball();
233
234
const readStream = fs.createReadStream(pathName);
235
@@ -247,8 +248,6 @@ class LocalFS implements ILocalPackageManager {
247
248
});
249
250
- readTarballStream = new ReadTarball();
251
-
252
readTarballStream.abort = function() {
253
readStream.close();
254
};
0 commit comments