From 93eb7a40a292f632e3fc2026753cbf3cfe61407a Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Sat, 12 Nov 2022 04:01:55 +0100 Subject: [PATCH] config checking fixup fixes regression - loading included property from config fixup for dd15b5743715a606ae4060892735923158c3cab8 --- revanced.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/revanced.ps1 b/revanced.ps1 index 0e2468a..924dd32 100644 --- a/revanced.ps1 +++ b/revanced.ps1 @@ -175,6 +175,7 @@ class configFile { } [System.Collections.ArrayList] getIncludesForPackage([String] $packageName) { + if (-not $this.config.included.Keys.Contains($packageName)) { return [System.Collections.ArrayList]::new() } return $this.config.included[$packageName].Clone() } }