mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Redo Reformat and cleanup.
Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted. This is now done with Rider-stable.
This commit is contained in:
@@ -230,7 +230,8 @@ public partial class Dump
|
||||
_ctx = AaruContext.Create(Settings.Settings.MainDbPath);
|
||||
|
||||
// Search for device in main database
|
||||
_dbDev = _ctx.Devices.FirstOrDefault(d => d.Manufacturer == _dev.Manufacturer && d.Model == _dev.Model &&
|
||||
_dbDev = _ctx.Devices.FirstOrDefault(d => d.Manufacturer == _dev.Manufacturer &&
|
||||
d.Model == _dev.Model &&
|
||||
d.Revision == _dev.FirmwareRevision);
|
||||
|
||||
if(_dbDev is null)
|
||||
@@ -293,8 +294,7 @@ public partial class Dump
|
||||
_errorLog.Close();
|
||||
_dumpLog.Close();
|
||||
|
||||
if(_resume == null ||
|
||||
!_doResume)
|
||||
if(_resume == null || !_doResume)
|
||||
return;
|
||||
|
||||
_resume.LastWriteDate = DateTime.UtcNow;
|
||||
|
||||
Reference in New Issue
Block a user