diff options
| author | AmbulantRex <21176662+AmbulantRex@users.noreply.github.com> | 2023-04-01 04:59:07 -0600 |
|---|---|---|
| committer | AmbulantRex <21176662+AmbulantRex@users.noreply.github.com> | 2023-04-01 04:59:07 -0600 |
| commit | a944352aa8b961ab723fed2d66947c19129a11cc (patch) | |
| tree | 30f3dddc2a2d7936373476ab0bd0de1df0a79784 /Emby.Server.Implementations/Plugins/PluginManager.cs | |
| parent | 677b1f8e34799d26ffa9ef792aabcc79ad9073ca (diff) | |
Correct style inconsistencies
Diffstat (limited to 'Emby.Server.Implementations/Plugins/PluginManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Plugins/PluginManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs index d253a0ab9..0a7c144ed 100644 --- a/Emby.Server.Implementations/Plugins/PluginManager.cs +++ b/Emby.Server.Implementations/Plugins/PluginManager.cs @@ -765,7 +765,7 @@ namespace Emby.Server.Implementations.Plugins /// <exception cref="ArgumentNullException">If the <see cref="LocalPlugin"/> is null.</exception> private bool TryGetPluginDlls(LocalPlugin plugin, out IReadOnlyList<string> whitelistedDlls) { - _ = plugin ?? throw new ArgumentNullException(nameof(plugin)); + ArgumentNullException.ThrowIfNull(nameof(plugin)); IReadOnlyList<string> pluginDlls = Directory.GetFiles(plugin.Path, "*.dll", SearchOption.AllDirectories); |
