Merge pull request #2050 from Bond-009/nullref

Fix possible nullref when updating packages
This commit is contained in:
dkanada
2019-12-05 15:23:48 +09:00
committed by GitHub
4 changed files with 16 additions and 9 deletions

View File

@@ -92,7 +92,7 @@ namespace MediaBrowser.Common.Updates
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>The available plugin updates.</returns>
Task<IEnumerable<PackageVersionInfo>> GetAvailablePluginUpdates(CancellationToken cancellationToken = default);
IAsyncEnumerable<PackageVersionInfo> GetAvailablePluginUpdates(CancellationToken cancellationToken = default);
/// <summary>
/// Installs the package.