@@ -52,7 +52,7 @@ private static void DeletePythonBinding()
52
52
}
53
53
54
54
/// <summary>
55
- /// Save json and ISavable
55
+ /// Save json and ISavable
56
56
/// </summary>
57
57
public static void Save ( )
58
58
{
@@ -225,11 +225,11 @@ public static ICollection<PluginPair> ValidPluginsForQuery(Query query)
225
225
{
226
226
if ( query is null )
227
227
return Array . Empty < PluginPair > ( ) ;
228
-
228
+
229
229
if ( ! NonGlobalPlugins . ContainsKey ( query . ActionKeyword ) )
230
230
return GlobalPlugins ;
231
-
232
-
231
+
232
+
233
233
var plugin = NonGlobalPlugins [ query . ActionKeyword ] ;
234
234
return new List < PluginPair >
235
235
{
@@ -289,8 +289,8 @@ public static void UpdatePluginMetadata(List<Result> results, PluginMetadata met
289
289
r . PluginID = metadata . ID ;
290
290
r . OriginQuery = query ;
291
291
292
- // ActionKeywordAssigned is used for constructing MainViewModel's query text auto-complete suggestions
293
- // Plugins may have multi-actionkeywords eg. WebSearches. In this scenario it needs to be overriden on the plugin level
292
+ // ActionKeywordAssigned is used for constructing MainViewModel's query text auto-complete suggestions
293
+ // Plugins may have multi-actionkeywords eg. WebSearches. In this scenario it needs to be overriden on the plugin level
294
294
if ( metadata . ActionKeywords . Count == 1 )
295
295
r . ActionKeywordAssigned = query . ActionKeyword ;
296
296
}
@@ -473,7 +473,7 @@ internal static void InstallPlugin(UserPlugin plugin, string zipFilePath, bool c
473
473
// Unzip plugin files to temp folder
474
474
var tempFolderPluginPath = Path . Combine ( Path . GetTempPath ( ) , Guid . NewGuid ( ) . ToString ( ) ) ;
475
475
System . IO . Compression . ZipFile . ExtractToDirectory ( zipFilePath , tempFolderPluginPath ) ;
476
-
476
+
477
477
if ( ! plugin . IsFromLocalInstallPath )
478
478
File . Delete ( zipFilePath ) ;
479
479
0 commit comments