Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 37b7800f authored by Manu Suresh's avatar Manu Suresh
Browse files

web-installer: format code with `npm run format`

parent 238b7979
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ export class Downloader {
                `${file.path}.sha256sum`,
              );
              const actual = await this.computeSha256(blob, (loaded, total) => {
                onVerifyProgress(loaded, total, file.name)
                onVerifyProgress(loaded, total, file.name);
              });
              if (expected && actual !== expected) {
                throw new Error(
@@ -94,9 +94,12 @@ export class Downloader {
              if (filesRequired.includes(filename)) {
                await this.setInDBStore(unzippedEntry.blob, filename);
                this.stored[filename] = true;
                const fileSHA = await this.computeSha256(unzippedEntry.blob, (loaded, total) => {
                  onVerifyProgress(loaded, total, filename)
                });
                const fileSHA = await this.computeSha256(
                  unzippedEntry.blob,
                  (loaded, total) => {
                    onVerifyProgress(loaded, total, filename);
                  },
                );
                console.log(`File: ${unzippedEntry.name} SHA256: ${fileSHA}`);
              }
            }