Skip to content

Commit

Permalink
Merge pull request #468 from paritytech/dependabot/npm_and_yarn/axios…
Browse files Browse the repository at this point in the history
…-1.1.2

Bump axios from 0.27.2 to 1.1.2
  • Loading branch information
mergify[bot] authored Oct 12, 2022
2 parents aa30d81 + 46355c4 commit 67d6b21
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 13 deletions.
34 changes: 23 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@polkadot/keyring": "^10.1.6",
"@polkadot/util-crypto": "^10.1.6",
"@types/chai": "^4.3.3",
"axios": "^0.27.2",
"axios": "^1.1.2",
"chai": "^4.3.4",
"cli-table3": "^0.6.2",
"commander": "^9.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const downloadBinaries = async (binaries: string[]): Promise<void> => {
method: "GET",
responseType: "stream",
});
const totalLength = headers["content-length"];
const totalLength = headers["content-length"] as string;

const progressBar = new progress(
"-> downloading [:bar] :percent :etas",
Expand Down

0 comments on commit 67d6b21

Please sign in to comment.