fix gbrepo path filtering on windows

This commit is contained in:
Josh Junon 2024-03-11 15:45:00 +01:00
parent c026dc9898
commit 8928920d47
No known key found for this signature in database

View File

@ -19,11 +19,10 @@ impl<'i> BranchIterator<'i> {
.into_iter()
.map(|file_path| {
file_path
.display()
.to_string()
.split('/')
.iter()
.next()
.unwrap()
.to_string_lossy()
.to_string()
})
.filter(|file_path| file_path != "selected")