Skip to content

Commit

Permalink
Fix CodeQL Alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelinux committed Feb 15, 2024
1 parent b04ce65 commit 8887da0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Src/Public/New-VeeamDiagram.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,14 @@ function New-VeeamDiagram {
$URLIcon = $false

if ($EnableEdgeDebug) {
$EdgeDebug = @{style = 'filled'; color = 'red' }
$script:EdgeDebug = @{style = 'filled'; color = 'red' }
$URLIcon = $true
} else { $EdgeDebug = @{style = 'invis'; color = 'red' } }
} else { $script:EdgeDebug = @{style = 'invis'; color = 'red' } }

if ($EnableSubGraphDebug) {
$SubGraphDebug = @{style = 'dashed'; color = 'red' }
$script:SubGraphDebug = @{style = 'dashed'; color = 'red' }
$URLIcon = $true
} else { $SubGraphDebug = @{style = 'invis'; color = 'gray' } }
} else { $script:SubGraphDebug = @{style = 'invis'; color = 'gray' } }

$RootPath = Split-Path (Split-Path $PSScriptRoot -Parent) -Parent
$IconPath = Join-Path $RootPath 'icons'
Expand Down

0 comments on commit 8887da0

Please sign in to comment.