Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee committed Nov 5, 2023
1 parent 8a32ed3 commit 8a7b6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/Get-DbatoolsConfigValue.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function Get-DbatoolsConfigValue {
} else {
# Prevent some potential [switch] parse issues
if ($temp.ToString() -eq "Mandatory") { $temp = $true }
if ($temp.ToString(0) -eq "Optional") { $temp = $false }
if ($temp.ToString() -eq "Optional") { $temp = $false }
}

if ($NotNull -and ($null -eq $temp)) {
Expand Down

0 comments on commit 8a7b6b0

Please sign in to comment.