From 40bf0202bfe14cf5eec35a043515e58d3a4818f4 Mon Sep 17 00:00:00 2001 From: Rob Sewell Date: Wed, 5 Apr 2023 19:28:48 +0000 Subject: [PATCH] so that we use hte variable #933 #934 --- source/functions/Get-DbcCheck.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/functions/Get-DbcCheck.ps1 b/source/functions/Get-DbcCheck.ps1 index 0dc349d2..482c2fa3 100644 --- a/source/functions/Get-DbcCheck.ps1 +++ b/source/functions/Get-DbcCheck.ps1 @@ -54,7 +54,7 @@ function Get-DbcCheck { } } } else { - $output = [System.IO.File]::ReadAllText("$script:localapp/checks.json" ) | ConvertFrom-Json + $output = [System.IO.File]::ReadAllText($checksfile) | ConvertFrom-Json } if ($Group) { $output = @($output).ForEach{