mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
More target-typed new and redundant paranthesis cleanup
This commit is contained in:
@@ -66,7 +66,7 @@ public abstract class ConfigServiceBase<TSettings> : IConfigService
|
||||
// if file is deleted, regenerate it with default values
|
||||
if (!File.Exists(_filePath))
|
||||
{
|
||||
_data = new TSettings();
|
||||
_data = new();
|
||||
Save();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user