style: Code cleanup

pull/201/head
Robert Dailey 11 months ago
parent f05ff6e04b
commit 0eb084b146

@ -33,7 +33,7 @@ public record CustomFormatCache
// Add a new mapping for CFs in user's config
r => new TrashIdMapping(r.TrashId, r.Name, r.Id),
// Update existing mappings for CFs in user's config
(l, r) => l with { TrashId = r.TrashId, CustomFormatName = r.Name })
(l, r) => l with {TrashId = r.TrashId, CustomFormatName = r.Name})
.Where(x => x.CustomFormatId != 0)
.OrderBy(x => x.CustomFormatId)
.ToList()

@ -213,7 +213,7 @@ public class CustomFormatCacheTest
new TrashIdMapping("1", "one", 1),
new TrashIdMapping("3", "three", 3),
new TrashIdMapping("4", "four", 4),
new TrashIdMapping("2", "two", 2),
new TrashIdMapping("2", "two", 2)
}
};

Loading…
Cancel
Save