Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

node_runtime: Bump minimum version for system node to match copilot's requirement (#39632)

Cole Millerfe9895d112e3
diff --git a/crates/node_runtime/src/node_runtime.rs b/crates/node_runtime/src/node_runtime.rs
index 9d41eb15629..3b2ba83ec33 100644
--- a/crates/node_runtime/src/node_runtime.rs
+++ b/crates/node_runtime/src/node_runtime.rs
@@ -613,7 +613,7 @@ pub struct SystemNodeRuntime {
}
impl SystemNodeRuntime {
- const MIN_VERSION: semver::Version = Version::new(20, 0, 0);
+ const MIN_VERSION: semver::Version = Version::new(22, 0, 0);
async fn new(node: PathBuf, npm: PathBuf) -> Result<Self> {
let output = util::command::new_smol_command(&node)
.arg("--version")