From 49a42dd1b45d107b14fbdec7a4f36bf2e9db35d1 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 5 Jun 2025 01:31:06 +0800 Subject: [PATCH] Improve code quality --- .../FirefoxBookmarkLoader.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/FirefoxBookmarkLoader.cs b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/FirefoxBookmarkLoader.cs index 62b71da4c..cd2f40d58 100644 --- a/Plugins/Flow.Launcher.Plugin.BrowserBookmark/FirefoxBookmarkLoader.cs +++ b/Plugins/Flow.Launcher.Plugin.BrowserBookmark/FirefoxBookmarkLoader.cs @@ -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();