diff --git a/lib/system/env/windows.rs b/lib/system/env/windows.rs index 6cf064a..8abd1df 100644 --- a/lib/system/env/windows.rs +++ b/lib/system/env/windows.rs @@ -12,7 +12,7 @@ pub async fn add_to_path(home: &Home) -> RokitResult { let key = RegKey::predef(HKEY_CURRENT_USER); let env = key.create_subkey("Environment")?.0; - let path = env.get_value::("PATH")?; + let path = env.get_value::("PATH")?; let path_already_exists = path.split(';').any(|entry| { Path::new(entry)