We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aedf886 commit 858a4e2Copy full SHA for 858a4e2
src/core/cliManager.ts
@@ -474,8 +474,8 @@ export class CliManager {
474
baseURL: baseUrl,
475
responseType: "stream",
476
headers: {
477
- "Accept-Encoding": "identity",
478
...headers,
+ "Accept-Encoding": "identity",
479
},
480
decompress: false,
481
// Ignore all errors so we can catch a 404!
@@ -488,6 +488,7 @@ export class CliManager {
488
resp.headers["x-original-content-length"]) as unknown;
489
const contentLength = Number.parseInt(
490
typeof rawContentLength === "string" ? rawContentLength : "",
491
+ 10,
492
);
493
if (Number.isNaN(contentLength)) {
494
this.output.warn(
0 commit comments