File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/soar-operations/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ use std::path::PathBuf;
33use soar_core:: { package:: remove:: PackageRemover , SoarResult } ;
44use soar_db:: repository:: core:: CoreRepository ;
55use soar_events:: { RemoveStage , SoarEvent } ;
6- use soar_utils:: { error:: FileSystemResult , fs:: walk_dir} ;
6+ use soar_utils:: { error:: FileSystemResult , fs:: walk_dir, path :: resolve_path } ;
77use tracing:: debug;
88
99use crate :: {
@@ -20,7 +20,7 @@ pub fn check_health(ctx: &SoarContext) -> SoarResult<HealthReport> {
2020 let path_env = std:: env:: var ( "PATH" ) . unwrap_or_default ( ) ;
2121 let path_configured = path_env
2222 . split ( ':' )
23- . any ( |p| std :: path :: Path :: new ( p ) == bin_path) ;
23+ . any ( |p| resolve_path ( p ) . unwrap_or_default ( ) == bin_path) ;
2424
2525 let broken_packages = get_broken_packages ( ctx) ?;
2626 let broken_symlinks = get_broken_symlinks ( ctx) ?;
You can’t perform that action at this time.
0 commit comments