This commit is contained in:
Dongjia "toka" Zhang 2023-04-26 12:00:36 +02:00 committed by GitHub
parent eab7c32e9f
commit 037b9551ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,7 +377,9 @@ where
} }
// also try to remove the corresponding `.lafl_lock` file if it still exists // also try to remove the corresponding `.lafl_lock` file if it still exists
// (even though it shouldn't exist anymore, at this point in time) // (even though it shouldn't exist anymore, at this point in time)
fs::remove_file(self.dir_path.join(format!(".{filename}.lafl_lock")))?; drop(fs::remove_file(
self.dir_path.join(format!(".{filename}.lafl_lock")),
));
} }
Ok(()) Ok(())
} }