Skip to content

Commit

Permalink
Get-DbaStartupParameter - Remove fixed typing of variables that may c…
Browse files Browse the repository at this point in the history
…hange their type (dataplat#9309)
  • Loading branch information
andreasjordan authored Apr 11, 2024
1 parent 24a49ab commit 7b60988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/Get-DbaStartupParameter.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ function Get-DbaStartupParameter {
if ($traceFlags.length -eq 0) {
$traceFlags = "None"
} else {
[int[]]$traceFlags = $traceFlags.substring(2)
$traceFlags = [int[]]$traceFlags.substring(2)
}

if ($debugFlags.length -eq 0) {
$debugFlags = "None"
} else {
[int[]]$debugFlags = $debugFlags.substring(2)
$debugFlags = [int[]]$debugFlags.substring(2)
}

if ($Simple -eq $true) {
Expand Down

0 comments on commit 7b60988

Please sign in to comment.