Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use process.execPath instead of "node" #1283

Merged
merged 1 commit into from
Oct 5, 2022
Merged

Conversation

oriolgual
Copy link
Contributor

When using nvm it seems that spawnSync can't find the node binary and the commands just fail awkwardly (spawnSync doesn't let us know it couldn't find the command).

Related to #113

When using nvm it seems that `spawnSync` can't find the node binary and the commands just fail awkwardly (spawnSync doesn't let us know it couldn't find the command). Related to prettier#113
@kddnewton
Copy link
Member

Nice work!

@kddnewton kddnewton merged commit 961ca9b into prettier:main Oct 5, 2022
@oriolgual
Copy link
Contributor Author

Should I create another PR to bump the version?

@kddnewton
Copy link
Member

That's alright I'll release soon

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.

2 participants