delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
fd869b20fa
commit
a0e7efd7d5
1 changed files with 2 additions and 3 deletions
|
@ -257,11 +257,10 @@ export async function downloadBugReport(opts) {
|
||||||
|
|
||||||
// Source: https://github.com/beatgammit/tar-js/blob/master/examples/main.js
|
// Source: https://github.com/beatgammit/tar-js/blob/master/examples/main.js
|
||||||
function uint8ToString(buf: Buffer) {
|
function uint8ToString(buf: Buffer) {
|
||||||
let i, length, out = '';
|
let out = '';
|
||||||
for (i = 0, length = buf.length; i < length; i += 1) {
|
for (let i = 0; i < buf.length; i += 1) {
|
||||||
out += String.fromCharCode(buf[i]);
|
out += String.fromCharCode(buf[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue