Merge 02da3cf4fb
into 823a0018e5
This commit is contained in:
commit
4b2a4d57d5
1 changed files with 9 additions and 0 deletions
|
@ -2712,6 +2712,15 @@ impl ProjectPanel {
|
|||
dir_path
|
||||
};
|
||||
|
||||
// Ensure trailing slash.
|
||||
let dir_path = {
|
||||
let mut complete_path = dir_path.to_path_buf();
|
||||
if !complete_path.ends_with("/") {
|
||||
complete_path.as_mut_os_string().push("/");
|
||||
}
|
||||
Arc::from(complete_path)
|
||||
};
|
||||
|
||||
self.workspace
|
||||
.update(cx, |workspace, cx| {
|
||||
search::ProjectSearchView::new_search_in_directory(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue