Skip to content

Commit 49a42dd

Browse files
committed
Improve code quality
1 parent f717376 commit 49a42dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Plugins/Flow.Launcher.Plugin.BrowserBookmark/FirefoxBookmarkLoader.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ protected List<Bookmark> GetBookmarksFromPath(string placesPath)
6060
File.Copy(placesPath, tempDbPath, true);
6161

6262
// Create the connection string and init the connection
63-
var dbPath = string.Format($"Data Source={tempDbPath};Mode=ReadOnly");
64-
using var dbConnection = new SqliteConnection(dbPath);
63+
using var dbConnection = new SqliteConnection($"Data Source={tempDbPath};Mode=ReadOnly");
6564

6665
// Open connection to the database file and execute the query
6766
dbConnection.Open();

0 commit comments

Comments
 (0)