Skip to content

Commit

Permalink
Bugfix by coaksford #9 for the JSON output type.
Browse files Browse the repository at this point in the history
  • Loading branch information
prashant3535 committed Sep 1, 2018
1 parent 2cb3aa0 commit 554dcd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ADRecon.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4156,7 +4156,7 @@ Function Export-ADRJSON

Try
{
(ConvertTo-JSON -InputObject $ADRObj).Save($ADFileName)
ConvertTo-JSON -InputObject $ADRObj | Out-File -FilePath $ADFileName
}
Catch
{
Expand Down Expand Up @@ -4313,7 +4313,7 @@ Function Export-ADR
'JSON'
{
$ADFileName = -join($ADROutputDir,'\','JSON-Files','\',$ADRModuleName,'.json')
Export-ADRXML -ADRObj $ADRObj -ADFileName $ADFileName
Export-ADRJSON -ADRObj $ADRObj -ADFileName $ADFileName
}
'HTML'
{
Expand Down

0 comments on commit 554dcd3

Please sign in to comment.