mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 23:24:36 +00:00
Mis
This commit is contained in:
parent
8f32f34374
commit
1a3b436216
1 changed files with 1 additions and 3 deletions
|
@ -184,9 +184,7 @@ namespace ArchiSteamFarm.Helpers {
|
|||
}
|
||||
|
||||
try {
|
||||
#pragma warning disable CA1508 // False positive, FileStream is not null here indeed, but using clause is needed for dispose
|
||||
using (new FileStream(FilePath, FileMode.CreateNew)) { }
|
||||
#pragma warning restore CA1508 // False positive, FileStream is not null here indeed, but using clause is needed for dispose
|
||||
new FileStream(FilePath, FileMode.CreateNew).Dispose();
|
||||
|
||||
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) {
|
||||
FileInfo fileInfo = new(FilePath);
|
||||
|
|
Loading…
Reference in a new issue