Fix various linter errors

This commit is contained in:
Girish Ramakrishnan
2026-02-15 19:37:30 +01:00
parent 510e1c7296
commit b5a1554631
24 changed files with 44 additions and 1607 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ async function addFile(sourceFile, encryption, uploader, progressCallback) {
const hash = new HashStream();
const destStream = uploader.createStream();
let pipeline = null;
let pipeline;
if (encryption) {
const encryptStream = new EncryptStream(encryption);
pipeline = safe(stream.pipeline(sourceStream, encryptStream, ps, hash, destStream));
+1 -1
View File
@@ -152,7 +152,7 @@ async function tarPack(dataLayout, encryption, uploader, progressCallback) {
const hash = new HashStream();
const destStream = uploader.createStream();
let pipeline = null;
let pipeline;
if (encryption) {
const encryptStream = new EncryptStream(encryption);
pipeline = safe(stream.pipeline(pack, gzip, encryptStream, ps, hash, destStream));