1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-18 19:54:20 +03:00

Fix JSON corruption when saving

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2023-08-22 12:23:49 +05:00
parent 324f455404
commit 646ba482ac
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
2 changed files with 4 additions and 3 deletions

View file

@ -17,3 +17,4 @@ M:Humanizer.InflectorExtensions.Kebaberize(System.String);Humanizer's .Kebaberiz
P:System.DateTime.Now;Use System.DateTime.UtcNow instead.
P:System.DateTimeOffset.Now;Use System.DateTimeOffset.UtcNow instead.
P:System.DateTimeOffset.DateTime;Use System.DateTimeOffset.UtcDateTime instead.
M:System.IO.File.OpenWrite(System.String);File.OpenWrite(string) does not clear the file before writing to it. Use File.Create(string) instead.