Skip to content

Commit 62ef0d2

Browse files
committed
Fix const issue
1 parent a17e2f1 commit 62ef0d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

JetStreamDriver.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ class ShellFileLoader {
190190

191191
let contents;
192192
if (compressed) {
193-
const bytes = new Int8Array(read(url, "binary"));
194-
bytes = zlib.decompress(bytes);
195-
contents = new TextDecoder().decode(bytes);
193+
const compressedBytes = new Int8Array(read(url, "binary"));
194+
const decompressedBytes = zlib.decompress(compressedBytes);
195+
contents = new TextDecoder().decode(decompressedBytes);
196196
} else {
197197
contents = readFile(url);
198198
}

0 commit comments

Comments
 (0)