mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Improve code quality
This commit is contained in:
parent
f717376a17
commit
49a42dd1b4
1 changed files with 1 additions and 2 deletions
|
|
@ -60,8 +60,7 @@ public abstract class FirefoxBookmarkLoaderBase : IBookmarkLoader
|
|||
File.Copy(placesPath, tempDbPath, true);
|
||||
|
||||
// Create the connection string and init the connection
|
||||
var dbPath = string.Format($"Data Source={tempDbPath};Mode=ReadOnly");
|
||||
using var dbConnection = new SqliteConnection(dbPath);
|
||||
using var dbConnection = new SqliteConnection($"Data Source={tempDbPath};Mode=ReadOnly");
|
||||
|
||||
// Open connection to the database file and execute the query
|
||||
dbConnection.Open();
|
||||
|
|
|
|||
Loading…
Reference in a new issue