mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 04:56:12 +03:00
Remove trailing sZs if exists
This commit is contained in:
parent
822a7dddbc
commit
ab9b9d9423
@ -35,6 +35,9 @@ fn compute_repo_dir(url: &str) -> String {
|
|||||||
c => dir.push_str(&format!("u{}", c as u32)),
|
c => dir.push_str(&format!("u{}", c as u32)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if dir.ends_with("sZs") {
|
||||||
|
dir.truncate(dir.len() - 3);
|
||||||
|
}
|
||||||
dir
|
dir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user