Skip to content

Commit

Permalink
Remove fixed typing of variables that may change their type
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjordan committed Mar 31, 2024
1 parent 86b3f3d commit 66018fd
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 66018fd

Please sign in to comment.