From 992155c60c8d20185e9f5fe4eb746d42662439fb Mon Sep 17 00:00:00 2001 From: Jamie Bowers Date: Wed, 23 Oct 2024 16:33:31 +0100 Subject: [PATCH] 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](https://github.com/zed-industries/zed/blob/19eebcd349d9ea14aa9ec6e0fe178ae26945f52a/crates/zed/src/main.rs#L488) for where the setting is used. Release Notes: - N/A --- assets/settings/default.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/settings/default.json b/assets/settings/default.json index bde7239bc921fd4f843546b4bdee713c440cab5c..da2636f93bb0cd8f53be1d346760d016e316cbf0 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -803,7 +803,7 @@ /// You can override this to use a version of node that is not in $PATH with: /// { /// "node": { - /// "node_path": "/path/to/node" + /// "path": "/path/to/node" /// "npm_path": "/path/to/npm" (defaults to node_path/../npm) /// } /// }