mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-13 07:00:39 +00:00
Mis
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user