fix issue with writing config files
This commit is contained in:
parent
505a2c4c2d
commit
0d3e2cb0bc
@ -73,7 +73,7 @@ namespace IW4MAdmin.Application.Misc
|
||||
{
|
||||
await _onSaving.WaitAsync();
|
||||
|
||||
await using var fileStream = File.OpenWrite(FileName);
|
||||
await using var fileStream = File.Create(FileName);
|
||||
await JsonSerializer.SerializeAsync(fileStream, _configuration, _serializerOptions);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user