mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-21 22:25:03 -04:00
Use 'var' instead of explicit type
(cherry picked from commit 12374f7f0038e5b25548f5ab3f71122410832393)
This commit is contained in:
@@ -293,7 +293,7 @@ namespace NzbDrone.Core.IndexerVersions
|
||||
|
||||
_httpClient.DownloadFile($"https://indexers.prowlarr.com/{DEFINITION_BRANCH}/{DEFINITION_VERSION}/package.zip", saveFile);
|
||||
|
||||
using (ZipArchive archive = ZipFile.OpenRead(saveFile))
|
||||
using (var archive = ZipFile.OpenRead(saveFile))
|
||||
{
|
||||
archive.ExtractToDirectory(definitionsFolder, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user