From 5d53b9655308ecf2d32c77e352de5b8c3974a366 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Wed, 28 Aug 2024 16:43:36 -0500 Subject: [PATCH] Update configs.Tests.ps1 --- pester/configs.Tests.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pester/configs.Tests.ps1 b/pester/configs.Tests.ps1 index 37dc6381..77504449 100644 --- a/pester/configs.Tests.ps1 +++ b/pester/configs.Tests.ps1 @@ -116,8 +116,9 @@ Describe "Config Files Validation" { $results = $configSchemas.Keys | ForEach-Object -Parallel { $configName = $_ $importedConfigs = $using:global:importedConfigs + $configSchemas = $using:configSchemas $config = $importedConfigs[$configName] - $schema = $using:configSchemas[$configName] + $schema = $configSchemas[$configName] if (-not $config) { return "Config file '$configName' is missing or empty"