Skip to content

Commit

Permalink
Fix CodeQL AsBuiltReport#41
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelinux committed May 16, 2024
1 parent d686783 commit 02b299f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AsBuiltReport.Microsoft.AD.Style.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Table -Name 'Cover Page' -List -Style Borderless -Width 0 -Hashtable ([Ordered]
})
PageBreak

if ($Global:BuitReportParams.EnableHealthCheck) {
if ($Healthcheck) {
Section -Style TOC -ExcludeFromTOC 'DISCLAIMER' {
Paragraph "The information contained in this report has been obtained through automation and observations. Opinions, recommendations and conclusions are disseminated using insight, knowledge, training and experience. This assessment was not intended to be exhaustive. However, we have done our best to capture the most relevant opportunities for improvement. It is expected that responsibility for the implementation of these recommendations will be reviewed and implemented by a person with the necessary knowledge, experience or expertise. In no event shall the author(s) be liable for damages of any kind (including, but not limited to, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use or inability to use these recommendations or the statements made in this documentation."
}
Expand Down
2 changes: 1 addition & 1 deletion Src/Public/Invoke-AsBuiltReport.Microsoft.AD.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function Invoke-AsBuiltReport.Microsoft.AD {
# Used to set values to TitleCase where required
$script:TextInfo = (Get-Culture).TextInfo

if ($Global:BuitReportParams.EnableHealthCheck) {
if ($Healthcheck) {
Section -Style TOC -ExcludeFromTOC 'DISCLAIMER' {
Paragraph "The information contained in this report has been obtained through automation and observations. Opinions, recommendations and conclusions are disseminated using insight, knowledge, training and experience. This assessment was not intended to be exhaustive. However, we have done our best to capture the most relevant opportunities for improvement. It is expected that responsibility for the implementation of these recommendations will be reviewed and implemented by a person with the necessary knowledge, experience or expertise. In no event shall the author(s) be liable for damages of any kind (including, but not limited to, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use or inability to use these recommendations or the statements made in this documentation."
}
Expand Down

0 comments on commit 02b299f

Please sign in to comment.