mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-05 08:42:50 +03:00
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:
@@ -562,7 +562,7 @@ namespace Emby.Server.Implementations.Updates
|
|||||||
}
|
}
|
||||||
|
|
||||||
stream.Position = 0;
|
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.
|
// Ensure we create one or populate existing ones with missing data.
|
||||||
await _pluginManager.PopulateManifest(package.PackageInfo, package.Version, targetDir, status).ConfigureAwait(false);
|
await _pluginManager.PopulateManifest(package.PackageInfo, package.Version, targetDir, status).ConfigureAwait(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user