Main: Canonicalize paths before sorting

This commit is contained in:
networkException 2022-04-22 02:50:22 +02:00
parent c8b2d6951b
commit 19e26b2dbd
Signed by: networkException
GPG key ID: E3877443AE684391

View file

@ -51,7 +51,7 @@ fn run() -> Result<()> {
for directory in directories_with_hashed_files {
for file in directory.read_dir()? {
let file = file?;
let path = file.path();
let path = file.path().canonicalize()?;
hashed_files.push(path);
}