Update example node settings in default.json to use the correct key for node path (#19607)

Hey team!

I was investigating the new node settings added in #18172, and when
trying to set the node path I noticed that the example settings in
`default.json` use the wrong key for the `node_path` - it should be
`path` instead.

See
[here](19eebcd349/crates/zed/src/main.rs (L488))
for where the setting is used.

Release Notes:

- N/A
This commit is contained in:
Jamie Bowers 2024-10-23 16:33:31 +01:00 committed by GitHub
parent e633f62eaf
commit 992155c60c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -803,7 +803,7 @@
/// You can override this to use a version of node that is not in $PATH with: /// You can override this to use a version of node that is not in $PATH with:
/// { /// {
/// "node": { /// "node": {
/// "node_path": "/path/to/node" /// "path": "/path/to/node"
/// "npm_path": "/path/to/npm" (defaults to node_path/../npm) /// "npm_path": "/path/to/npm" (defaults to node_path/../npm)
/// } /// }
/// } /// }