fix: actually use the correct path when setting up vfs, fix warnings

use paramref instead of see

fix warnings
This commit is contained in:
goat 2023-09-29 18:53:56 +02:00
parent 979dc825b3
commit e9e234b340
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
3 changed files with 10 additions and 8 deletions

View file

@ -41,7 +41,7 @@ public class ReliableFileStorage : IServiceType, IDisposable
try
{
this.SetupDb(vfsDbPath);
this.SetupDb(databasePath);
}
catch (Exception ex)
{
@ -49,15 +49,15 @@ public class ReliableFileStorage : IServiceType, IDisposable
try
{
if (File.Exists(vfsDbPath))
File.Delete(vfsDbPath);
if (File.Exists(databasePath))
File.Delete(databasePath);
this.SetupDb(databasePath);
}
catch (Exception)
{
// ignored
// ignored, we can run without one
}
this.SetupDb(vfsDbPath);
}
}