[CI > Win] Fix downloading syntax error
This commit is contained in:
parent
5583b318ad
commit
2b99691dda
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ get('https://discord.com/api/updates/distributions/app/manifests/latest?channel=
|
||||||
|
|
||||||
console.log('decompressing...');
|
console.log('decompressing...');
|
||||||
|
|
||||||
body = Buffer.concat(data);
|
body = Buffer.concat(body);
|
||||||
body = zlib.brotliDecompressSync(body);
|
body = zlib.brotliDecompressSync(body);
|
||||||
|
|
||||||
fs.writeFileSync('client.tar', body);
|
fs.writeFileSync('client.tar', body);
|
||||||
|
|
Loading…
Reference in a new issue