From 22e9a56a8990b55ce7d6e5ec44c7e79100f22799 Mon Sep 17 00:00:00 2001 From: David Legrand <1110600+davlgd@users.noreply.github.com> Date: Wed, 2 Jul 2025 01:19:14 +0200 Subject: [PATCH] fix: filter lines with VOLTA_HOME during setup --- src/command/setup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/setup.rs b/src/command/setup.rs index 2f1fd771b..bf3a25d04 100644 --- a/src/command/setup.rs +++ b/src/command/setup.rs @@ -183,7 +183,7 @@ If you run into problems running Volta, create {} and run `volta setup` again.", reader .lines() .filter(|line_result| match line_result { - Ok(line) if !line.contains("VOLTA") => true, + Ok(line) if !line.contains("VOLTA_HOME") => true, Ok(_) => false, Err(_) => true, })