Fix error CA2016: Forward the 'cancellationToken' parameter to the 'ExtractToDirectoryAsync' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token

This commit is contained in:
Richard Torhan 2025-11-27 18:11:05 +01:00 committed by Bond_009
parent d089537bca
commit 50dcec1ff5

View file

@ -562,7 +562,7 @@ namespace Emby.Server.Implementations.Updates
}
stream.Position = 0;
await ZipFile.ExtractToDirectoryAsync(stream, targetDir, true);
await ZipFile.ExtractToDirectoryAsync(stream, targetDir, true, cancellationToken);
// Ensure we create one or populate existing ones with missing data.
await _pluginManager.PopulateManifest(package.PackageInfo, package.Version, targetDir, status).ConfigureAwait(false);