mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove useless assignment
This commit is contained in:
parent
ee0b039427
commit
5f976b9331
1 changed files with 2 additions and 11 deletions
|
|
@ -1,6 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Threading.Tasks;
|
||||
|
|
@ -139,15 +138,11 @@ namespace Flow.Launcher.Core.Plugin
|
|||
.Where(o => o.Language.Equals(AllowedLanguage.Executable, StringComparison.OrdinalIgnoreCase))
|
||||
.Select(metadata =>
|
||||
{
|
||||
var plugin = new PluginPair
|
||||
return new PluginPair
|
||||
{
|
||||
Plugin = new ExecutablePlugin(metadata.ExecuteFilePath),
|
||||
Metadata = metadata
|
||||
};
|
||||
|
||||
plugin.Metadata.AssemblyName = string.Empty;
|
||||
|
||||
return plugin;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -157,15 +152,11 @@ namespace Flow.Launcher.Core.Plugin
|
|||
.Where(o => o.Language.Equals(AllowedLanguage.ExecutableV2, StringComparison.OrdinalIgnoreCase))
|
||||
.Select(metadata =>
|
||||
{
|
||||
var plugin = new PluginPair
|
||||
return new PluginPair
|
||||
{
|
||||
Plugin = new ExecutablePlugin(metadata.ExecuteFilePath),
|
||||
Metadata = metadata
|
||||
};
|
||||
|
||||
plugin.Metadata.AssemblyName = string.Empty;
|
||||
|
||||
return plugin;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue