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:
@@ -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")),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user