type coerce
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c4fc70b9be
commit
fd869b20fa
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ export async function downloadBugReport(opts) {
|
||||||
await new Promise((resolve => {
|
await new Promise((resolve => {
|
||||||
const reader = new FileReader();
|
const reader = new FileReader();
|
||||||
reader.addEventListener('loadend', ev => {
|
reader.addEventListener('loadend', ev => {
|
||||||
tape.append(`log-${i++}.log`, pako.ungzip(ev.target.result));
|
tape.append(`log-${i++}.log`, pako.ungzip(ev.target.result as string));
|
||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
reader.readAsArrayBuffer(value as Blob);
|
reader.readAsArrayBuffer(value as Blob);
|
||||||
|
|
Loading…
Reference in a new issue