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

Incorrect process.execPath in VSCode-ESLint #1485

Closed
dimaMachina opened this issue Jun 20, 2022 · 1 comment
Closed

Incorrect process.execPath in VSCode-ESLint #1485

dimaMachina opened this issue Jun 20, 2022 · 1 comment

Comments

@dimaMachina
Copy link

Related dimaMachina/graphql-eslint#1091

I use some package sync-fetch that has process.execPath statement.
Via terminal everything works fine, process.execPath equals /Users/dimitri/.nvm/versions/node/v16.14.2/bin/node.
BUT something strange happens while execution via VSCode-ESLint as process.execPath equals /Applications/Visual Studio Code - Insiders.app/Contents/Frameworks/Code - Insiders Helper.app/Contents/MacOS/Code - Insiders Helper.

VSCode-ESLint v2.2.2

@dbaeumer
Copy link
Member

By default the ESLint extension uses the node version that ships with VS Code. If you want to use another node version you can use the eslint.runtime setting to control it

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

No branches or pull requests

2 participants