PR feedback
This commit is contained in:
parent
55825f6082
commit
3c087c0f8d
|
|
@ -17,7 +17,7 @@ anyhow = "1.0.28"
|
||||||
bincode = "1.2.1"
|
bincode = "1.2.1"
|
||||||
clap = "2.33.0"
|
clap = "2.33.0"
|
||||||
dirs = "2.0.2"
|
dirs = "2.0.2"
|
||||||
dunce = "1.0"
|
dunce = "1.0.0"
|
||||||
serde = { version = "1.0.106", features = ["derive"] }
|
serde = { version = "1.0.106", features = ["derive"] }
|
||||||
structopt = "0.3.12"
|
structopt = "0.3.12"
|
||||||
uuid = { version = "0.8.1", features = ["v4"] }
|
uuid = { version = "0.8.1", features = ["v4"] }
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ impl DB {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
let path_abs = match dunce::canonicalize(Path::new(path_str)) {
|
let path_abs = match dunce::canonicalize(path_str) {
|
||||||
Ok(path) => path,
|
Ok(path) => path,
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
eprintln!("invalid path '{}' at line {}: {}", path_str, line_number, e);
|
eprintln!("invalid path '{}' at line {}: {}", path_str, line_number, e);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue