Wait to locate system-installed Node until the shell environment is loaded (#30416)
Release Notes: - Fixed a race condition that sometimes prevented a system-installed `node` binary from being detected. - Fixed a bug where the `node.path` setting was not respected when invoking npm.
This commit is contained in:
parent
9afc6f6f5c
commit
65b13968a2
7 changed files with 68 additions and 58 deletions
|
@ -104,7 +104,7 @@ pub struct NodeBinarySettings {
|
|||
pub npm_path: Option<String>,
|
||||
/// If enabled, Zed will download its own copy of Node.
|
||||
#[serde(default)]
|
||||
pub ignore_system_version: Option<bool>,
|
||||
pub ignore_system_version: bool,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Default, Serialize, Deserialize, JsonSchema)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue