chore(deps): bump clap to latest rc

This commit is contained in:
LGUG2Z
2021-12-31 08:33:29 -08:00
parent 5e3f1cbb44
commit e2ae9b1207
7 changed files with 73 additions and 87 deletions

View File

@@ -999,7 +999,7 @@ fn main() -> Result<()> {
fn resolve_windows_path(raw_path: &str) -> Result<PathBuf> {
let path = if raw_path.starts_with('~') {
raw_path.replacen(
"~",
'~',
&dirs::home_dir()
.ok_or_else(|| anyhow!("there is no home directory"))?
.display()