Skip to content

refactor: use createRequire for mobilecli binary resolution#8

Merged
gmegidish merged 1 commit intomainfrom
refactor/resolve-binary-use-createrequire
Apr 2, 2026
Merged

refactor: use createRequire for mobilecli binary resolution#8
gmegidish merged 1 commit intomainfrom
refactor/resolve-binary-use-createrequire

Conversation

@gmegidish
Copy link
Copy Markdown
Member

Replace manual node_modules directory walk with Node's createRequire + require.resolve, so the binary is found correctly from npx caches, global installs, and local node_modules alike.

Replace manual node_modules directory walk with Node's createRequire +
require.resolve, so the binary is found correctly from npx caches,
global installs, and local node_modules alike.
@gmegidish gmegidish merged commit 13534dd into main Apr 2, 2026
1 check passed
@gmegidish gmegidish deleted the refactor/resolve-binary-use-createrequire branch April 2, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant