mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-20 14:52:22 +02:00
last modification release 3.0
This commit is contained in:
@@ -104,7 +104,7 @@ pub fn resolve_directory_path(input: &str) -> String {
|
||||
if md.is_dir() && !md.permissions().readonly() {
|
||||
input_path.canonicalize().ok()
|
||||
} else {
|
||||
error!("Path not found or not writable: {:?}", &input_path);
|
||||
error!("Path not found or not writable: {input_path:?}");
|
||||
None
|
||||
}
|
||||
});
|
||||
@@ -115,7 +115,7 @@ pub fn resolve_directory_path(input: &str) -> String {
|
||||
.canonicalize()
|
||||
.map_or_else(
|
||||
|_| {
|
||||
error!("Path not found {:?}", &final_path);
|
||||
error!("Path not found {final_path:?}");
|
||||
String::from("./")
|
||||
},
|
||||
|ap| String::from(ap.to_str().unwrap_or("./")),
|
||||
|
||||
Reference in New Issue
Block a user