config checking fixup

fixes regression - loading included property from config
fixup for dd15b57437
This commit is contained in:
Wroclaw 2022-11-12 04:01:55 +01:00
parent dd15b57437
commit 93eb7a40a2

View file

@ -175,6 +175,7 @@ class configFile {
} }
[System.Collections.ArrayList] getIncludesForPackage([String] $packageName) { [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() return $this.config.included[$packageName].Clone()
} }
} }