mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Kotz's editorconfig styles slightly modified. Target typed new usage. Brackets in expressions used for clarity.
This commit is contained in:
@@ -24,11 +24,11 @@ public sealed class BotCredsProvider : IBotCredsProvider
|
||||
private string OldCredsJsonBackupPath => Path.Combine(Directory.GetCurrentDirectory(), "credentials.json.bak");
|
||||
|
||||
|
||||
private Creds _creds = new Creds();
|
||||
private IConfigurationRoot _config;
|
||||
private readonly Creds _creds = new();
|
||||
private readonly IConfigurationRoot _config;
|
||||
|
||||
|
||||
private readonly object reloadLock = new object();
|
||||
private readonly object reloadLock = new();
|
||||
public void Reload()
|
||||
{
|
||||
lock (reloadLock)
|
||||
|
Reference in New Issue
Block a user