Bladeren bron

Update MediaBrowser.Common/Plugins/BasePlugin.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
BaronGreenback 4 jaren geleden
bovenliggende
commit
429de72443
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      MediaBrowser.Common/Plugins/BasePlugin.cs

+ 2 - 2
MediaBrowser.Common/Plugins/BasePlugin.cs

@@ -56,8 +56,8 @@ namespace MediaBrowser.Common.Plugins
         /// Gets a value indicating whether the plugin can be uninstalled.
         /// </summary>
         public bool CanUninstall => !Path.GetDirectoryName(AssemblyFilePath)
-            .Equals(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), StringComparison.InvariantCulture) &&
-            !typeof(IPluginServiceRegistrator).IsAssignableFrom(this.GetType());
+            .Equals(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), StringComparison.InvariantCulture)
+            && !typeof(IPluginServiceRegistrator).IsAssignableFrom(this.GetType());
 
         /// <summary>
         /// Gets the plugin info.