dependencies: Update shellexpand to 3.0.0

This commit is contained in:
2022-12-12 13:55:05 +01:00
parent 8ce5cfecd4
commit 3151b97bc0
4 changed files with 12 additions and 16 deletions

View File

@@ -240,7 +240,7 @@ impl Config {
pub fn normalize(&mut self) {
if let Config::ConfigTrees(config) = self {
let home = path::env_home().display().to_string();
let home = path::env_home();
for tree in &mut config.trees_mut().iter_mut() {
if tree.root.starts_with(&home) {
// The tilde is not handled differently, it's just a normal path component for `Path`.