From ca002f0acb73c293f72a08d41d1008f771819592 Mon Sep 17 00:00:00 2001 From: hosted-fornet Date: Sat, 30 Mar 2024 16:49:17 -0700 Subject: [PATCH] setup: dont assert wrt nvm; instead branch --- src/setup/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/setup/mod.rs b/src/setup/mod.rs index b1e4b7be..ce41b9ec 100644 --- a/src/setup/mod.rs +++ b/src/setup/mod.rs @@ -181,8 +181,7 @@ pub fn get_newest_valid_node_version( let fields: Vec<&str> = line.split_whitespace().collect(); if fields.len() == 1 { versions.push(fields[0].to_string()); - } else if fields.len() == 2 { - assert_eq!("->", fields[0]); + } else if fields.len() == 2 && fields[0] == "->" { versions.push(fields[1].to_string()); } }