mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2026-10-25 12:10:56 -04:00
Updated editorconfig to (mostly?) require braces around if/else statements, and applied the new formatting rules
This commit is contained in:
@@ -30,10 +30,10 @@ public sealed class BotConfigService : ConfigServiceBase<BotConfig>
|
||||
|
||||
private void Migrate()
|
||||
{
|
||||
if (data.Version < 2) ModifyConfig(c => c.Version = 2);
|
||||
if (data.Version < 2)
|
||||
ModifyConfig(c => c.Version = 2);
|
||||
|
||||
if (data.Version < 3)
|
||||
{
|
||||
ModifyConfig(c =>
|
||||
{
|
||||
c.Version = 3;
|
||||
@@ -46,6 +46,5 @@ public sealed class BotConfigService : ConfigServiceBase<BotConfig>
|
||||
.Distinct()
|
||||
.ToHashSet();
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user