mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-16 01:40:35 -06:00
Update configs.Tests.ps1
This commit is contained in:
parent
66164379c8
commit
5d53b96553
@ -116,8 +116,9 @@ Describe "Config Files Validation" {
|
|||||||
$results = $configSchemas.Keys | ForEach-Object -Parallel {
|
$results = $configSchemas.Keys | ForEach-Object -Parallel {
|
||||||
$configName = $_
|
$configName = $_
|
||||||
$importedConfigs = $using:global:importedConfigs
|
$importedConfigs = $using:global:importedConfigs
|
||||||
|
$configSchemas = $using:configSchemas
|
||||||
$config = $importedConfigs[$configName]
|
$config = $importedConfigs[$configName]
|
||||||
$schema = $using:configSchemas[$configName]
|
$schema = $configSchemas[$configName]
|
||||||
|
|
||||||
if (-not $config) {
|
if (-not $config) {
|
||||||
return "Config file '$configName' is missing or empty"
|
return "Config file '$configName' is missing or empty"
|
||||||
|
Loading…
Reference in New Issue
Block a user