From 25b89dd8e91dde4e9525bae81aec2994613366f9 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 17 Dec 2025 09:43:34 +0100 Subject: [PATCH] workspace: Don't debug display paths to users in trust popup (#45079) On windows this will render two backslashes otherwise Release Notes: - N/A *or* Added/Fixed/Improved ... --- crates/workspace/src/security_modal.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/workspace/src/security_modal.rs b/crates/workspace/src/security_modal.rs index 44242a3588017aabf117300310dd10a4a28b292f..1b5509d4d64e5b1377c9675fb49d2981e8173668 100644 --- a/crates/workspace/src/security_modal.rs +++ b/crates/workspace/src/security_modal.rs @@ -265,8 +265,8 @@ impl SecurityModal { } } 1 => Some(Cow::Owned(format!( - "Trust all projects in the {:?} folder", - self.shorten_path(available_parents[0]) + "Trust all projects in the {:} folder", + self.shorten_path(available_parents[0]).display() ))), _ => Some(Cow::Borrowed("Trust all projects in the parent folders")), }