Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnavK-09 committed May 7, 2024
1 parent cd84645 commit f9ea609
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion npm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function getExePath() {

try {
// Since the binary will be located inside `node_modules`, we can simply call `require.resolve`
return require.resolve(`rust_cli_for_npx-${os}-${arch}/bin/app${extension}`);
return require.resolve(`rust_cli_for_npx-${os}-${arch}/bin/rust_cli_for_npx${extension}`);
} catch (e) {
throw new Error(
`Couldn't find application binary inside node_modules for ${os}-${arch}`,
Expand Down
14 changes: 7 additions & 7 deletions npm/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "rust_cli_for_npx",
"version": "0.1.2",
"version": "0.1.3",
"bin": "index.js",
"files": ["index.js"],
"scripts": {
"dev": "node index.js"
},
"optionalDependencies": {
"rust_cli_for_npx-linux-x64": "0.1.2",
"rust_cli_for_npx-linux-arm64": "0.1.2",
"rust_cli_for_npx-darwin-x64": "0.1.2",
"rust_cli_for_npx-darwin-arm64": "0.1.2",
"rust_cli_for_npx-windows-x64": "0.1.2",
"rust_cli_for_npx-windows-arm64": "0.1.2"
"rust_cli_for_npx-linux-x64": "0.1.3",
"rust_cli_for_npx-linux-arm64": "0.1.3",
"rust_cli_for_npx-darwin-x64": "0.1.3",
"rust_cli_for_npx-darwin-arm64": "0.1.3",
"rust_cli_for_npx-windows-x64": "0.1.3",
"rust_cli_for_npx-windows-arm64": "0.1.3"
}
}

0 comments on commit f9ea609

Please sign in to comment.