ksud: fmt
This commit is contained in:
@@ -285,9 +285,7 @@ pub fn copy_module_files(source: impl AsRef<Path>, destination: impl AsRef<Path>
|
|||||||
|
|
||||||
if entry.file_type().is_file() {
|
if entry.file_type().is_file() {
|
||||||
std::fs::copy(&source_path, &dest_path).with_context(|| {
|
std::fs::copy(&source_path, &dest_path).with_context(|| {
|
||||||
format!(
|
format!("Failed to copy file from {source_path:?} to {dest_path:?}",)
|
||||||
"Failed to copy file from {source_path:?} to {dest_path:?}",
|
|
||||||
)
|
|
||||||
})?;
|
})?;
|
||||||
copy_xattrs(&source_path, &dest_path)?;
|
copy_xattrs(&source_path, &dest_path)?;
|
||||||
} else if entry.file_type().is_symlink() {
|
} else if entry.file_type().is_symlink() {
|
||||||
|
|||||||
Reference in New Issue
Block a user