Skip to content

Commit f599359

Browse files
committed
Improve code quality
1 parent 4c5b5fb commit f599359

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Flow.Launcher.Core/Plugin/QueryBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ public static Query Build(string input, string text, Dictionary<string, PluginPa
1313
{
1414
return new Query()
1515
{
16-
Input = string.Empty,
1716
Search = string.Empty,
17+
Input = string.Empty,
1818
RawQuery = string.Empty,
1919
SearchTerms = Array.Empty<string>(),
2020
ActionKeyword = string.Empty

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,8 +1333,8 @@ private async Task QueryResultsAsync(bool searchDelay, bool isReQuery = false, b
13331333
}
13341334
}
13351335

1336-
var validPluginNames = plugins.Select(x => $"<{x.Metadata.Name}>");
1337-
App.API.LogDebug(ClassName, $"Valid <{plugins.Count}> plugins: {string.Join(" ", validPluginNames)}");
1336+
App.API.LogDebug(ClassName, $"Valid <{plugins.Count}> plugins: " +
1337+
$"{string.Join(" ", plugins.Select(x => $"<{x.Metadata.Name}>"))}");
13381338

13391339
// Do not wait for performance improvement
13401340
/*if (string.IsNullOrEmpty(query.ActionKeyword))

0 commit comments

Comments
 (0)