From 9d290e57945465586b069fe6658fe100e5d68a68 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 23 Aug 2026 01:53:09 +0000 Subject: [PATCH 1/2] Initial plan From cda2c9cfddcd6f16fd41d8c6a6239171916c25ff Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 23 Aug 2026 01:54:46 +0000 Subject: [PATCH 2/2] Fix clippy nonminimal_bool lint in inventory.rs Co-authored-by: xandwr <94504311+xandwr@users.noreply.github.com> --- src/inventory.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/inventory.rs b/src/inventory.rs index 438b018..30b244d 100644 --- a/src/inventory.rs +++ b/src/inventory.rs @@ -223,9 +223,9 @@ impl Host { self.name ); } - if !Path::new(identity).is_absolute() - && !identity.starts_with("~/") - && !(cfg!(windows) && identity.starts_with("~\\")) + if !(Path::new(identity).is_absolute() + || identity.starts_with("~/") + || cfg!(windows) && identity.starts_with("~\\")) { bail!( "destination {:?} has a relative identity path; use an absolute path or one beginning with ~/",