Skip to content

Commit

Permalink
Merge branch 'master' into fix/demangle-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Nov 26, 2020
2 parents 749a39e + be65658 commit f89d620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions symbolic-common/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ pub fn join_path(base: &str, other: &str) -> String {
}

// absolute paths
if base == "" || is_absolute_windows_path(other) || is_absolute_unix_path(other) {
if base.is_empty() || is_absolute_windows_path(other) || is_absolute_unix_path(other) {
return other.into();
}

// other weird cases
if other == "" {
if other.is_empty() {
return base.into();
}

Expand Down

0 comments on commit f89d620

Please sign in to comment.