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 ...
This commit is contained in:
Lukas Wirth
2025-12-17 09:43:34 +01:00
committed by GitHub
parent edcde6d90c
commit 25b89dd8e9

View File

@@ -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")),
}