Skip to content

Commit 858a4e2

Browse files
committed
Address review comments
1 parent aedf886 commit 858a4e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/cliManager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,8 @@ export class CliManager {
474474
baseURL: baseUrl,
475475
responseType: "stream",
476476
headers: {
477-
"Accept-Encoding": "identity",
478477
...headers,
478+
"Accept-Encoding": "identity",
479479
},
480480
decompress: false,
481481
// Ignore all errors so we can catch a 404!
@@ -488,6 +488,7 @@ export class CliManager {
488488
resp.headers["x-original-content-length"]) as unknown;
489489
const contentLength = Number.parseInt(
490490
typeof rawContentLength === "string" ? rawContentLength : "",
491+
10,
491492
);
492493
if (Number.isNaN(contentLength)) {
493494
this.output.warn(

0 commit comments

Comments
 (0)