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{