Skip to content

Commit e797804

Browse files
Copilotfriggeri
andauthored
fix: align nodeExecPath example env var name in JSDoc and README"
Co-authored-by: friggeri <106686+friggeri@users.noreply.github.com>
1 parent d9d2499 commit e797804

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nodejs/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export interface CopilotClientOptions {
319319
*
320320
* In an Electron main process, `process.execPath` resolves to the Electron
321321
* binary, not Node, which breaks the spawn. Set this to a real `node`
322-
* binary path (e.g. from `process.env.ELECTRON_APP_BUNDLED_NODE_PATH` or a
322+
* binary path (e.g. from `process.env.MY_APP_NODE_PATH` or a
323323
* fixed path shipped with the app) to bypass the issue entirely.
324324
*
325325
* When omitted and the SDK detects an Electron host

0 commit comments

Comments
 (0)