Skip to content

Commit

Permalink
fix (revert) extractNodejs tar extract
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Nov 13, 2023
1 parent 0707937 commit b47a762
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
22 changes: 11 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 @@ -122,7 +122,7 @@
"lodash": "^4.17.21",
"nodemon": "^3.0.1",
"otplib": "^12.0.1",
"prettier": "^3.0.3",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.0",
Expand Down
4 changes: 2 additions & 2 deletions src/bin/hb-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1212,11 +1212,11 @@ export class HomebridgeServiceHelper {
/**
* Extract the Node.js tarball
*/
public async extractNodejs(targetVersion: string, extractConfig) {
public async extractNodejs(targetVersion: string, extractConfig: tar.ExtractOptions) {
const spinner = ora(`Installing Node.js ${targetVersion}`).start();

try {
tar.x(extractConfig);
await tar.x(extractConfig);
spinner.succeed(`Installed Node.js ${targetVersion}`);
} catch (e) {
spinner.fail(e.message);
Expand Down
8 changes: 4 additions & 4 deletions ui/package-lock.json

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

0 comments on commit b47a762

Please sign in to comment.