Skip to content

Commit 554e301

Browse files
@jotadevelopersergiohgz
authored andcommitted
fix: remove unused parameters
1 parent 0e5501c commit 554e301

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

plugins/local-storage/src/local-fs.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,9 @@ class LocalFS implements ILocalPackageManager {
227227
return uploadStream;
228228
}
229229

230-
readTarball(name: string, readTarballStream: any, callback: Function = () => {}) {
230+
readTarball(name: string) {
231231
const pathName: string = this._getStorage(name);
232+
const readTarballStream = new ReadTarball();
232233

233234
const readStream = fs.createReadStream(pathName);
234235

@@ -247,8 +248,6 @@ class LocalFS implements ILocalPackageManager {
247248
});
248249
});
249250

250-
readTarballStream = new ReadTarball();
251-
252251
readTarballStream.abort = function() {
253252
readStream.close();
254253
};

0 commit comments

Comments
 (0)