Fix style

This commit is contained in:
Bobbe 2024-07-11 16:49:38 +02:00
parent d9bea13df7
commit 9fc674131f

View File

@ -454,7 +454,7 @@ pub fn apply_diff_builtin(
}),
Some(Some(TreeValue::Symlink(_))) => Some(scm_record::FileMode(mode::SYMLINK)),
Some(None) => {
if contents == "" {
if contents.is_empty() {
None
} else {
file.get_file_mode()