Skip to content

Commit 0ae577c

Browse files
committed
version
1 parent e58211c commit 0ae577c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/shared/lsp/utils/platform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function createNodeProcess(nodePath: string, args: string[]) {
4444
*/
4545
export async function validateNodeExe(nodePath: string, lsp: string, args: string[], logger: Logger) {
4646
// Check that we can start `node` by itself.
47-
const proc = createNodeProcess(nodePath, ['-e', 'console.log("ok")'])
47+
const proc = createNodeProcess(nodePath, ['-e', 'console.log("ok " + process.version)'])
4848
const r = await proc.run()
4949
const ok = r.exitCode === 0 && r.stdout.includes('ok')
5050
if (!ok) {

0 commit comments

Comments
 (0)