Permalink
Browse files

fixes #564

happened on dbatools already
  • Loading branch information...
niphlod committed Nov 6, 2018
1 parent 4c9b3dd commit 3a07671e50e1aefa364789ad2020d1d4d81320e8
Showing with 2 additions and 2 deletions.
  1. +2 −2 functions/Import-DbcConfig.ps1
@@ -31,7 +31,7 @@ Imports config from \\nas\projects\config.json
https://dbachecks.readthedocs.io/en/latest/functions/Import-DbcConfig/
#>

function Import-DbcConfig {
[CmdletBinding()]
param (
@@ -47,7 +47,7 @@ function Import-DbcConfig {
}

try {
$results = Get-Content -Path $Path | ConvertFrom-Json
$results = Get-Content -Path $Path -Raw | ConvertFrom-Json
}
catch {
Stop-PSFFunction -Message "Failure" -ErrorRecord $_

0 comments on commit 3a07671

Please sign in to comment.