Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-07-21 22:50:39 +01:00
parent fd869b20fa
commit a0e7efd7d5
1 changed files with 2 additions and 3 deletions
src/rageshake

View File

@ -257,11 +257,10 @@ export async function downloadBugReport(opts) {
// Source: https://github.com/beatgammit/tar-js/blob/master/examples/main.js
function uint8ToString(buf: Buffer) {
let i, length, out = '';
for (i = 0, length = buf.length; i < length; i += 1) {
let out = '';
for (let i = 0; i < buf.length; i += 1) {
out += String.fromCharCode(buf[i]);
}
return out;
}