Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Apr 7, 2024
1 parent 58335cf commit c4f3fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ impl StrictPath {
}

pub fn globbable(&self) -> String {
self.display().trim().trim_matches(['/', '\\']).replace('\\', "/")
self.display().trim().trim_end_matches(['/', '\\']).replace('\\', "/")
}

fn canonical(&self) -> Canonical {
Expand Down

0 comments on commit c4f3fd0

Please sign in to comment.