code formatting

This commit is contained in:
13xforever 2020-03-02 19:17:01 +05:00
parent d997ef12d7
commit 51266b3b32

View File

@ -68,7 +68,13 @@ namespace CompatBot.Database.Providers
foreach (var sci in funcsToRemove.Where(sci => sci.Function.Contains('('))) foreach (var sci in funcsToRemove.Where(sci => sci.Function.Contains('(')))
{ {
var productIds = await db.SyscallToProductMap.AsNoTracking().Where(m => m.SyscallInfoId == sci.Id).Select(m => m.Product.ProductCode).Distinct().ToListAsync().ConfigureAwait(false); var productIds = await db.SyscallToProductMap
.AsNoTracking()
.Where(m => m.SyscallInfoId == sci.Id)
.Select(m => m.Product.ProductCode)
.Distinct()
.ToListAsync()
.ConfigureAwait(false);
links += productIds.Count; links += productIds.Count;
foreach (var productId in productIds) foreach (var productId in productIds)
{ {