Skip to content

Commit

Permalink
Fix missing space when generating Warning when password minimum lengt…
Browse files Browse the repository at this point in the history
…h is failing. (Azure#700)
  • Loading branch information
thomasyip-msft committed Oct 7, 2022
1 parent 6a805cb commit 2c14c0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ foreach ($pwb in $passwordBoxes) { # Loop over each password box
$totalMins += $match.Groups['Min'].Value -as [int]
}
if ($passWordMinLength -gt $totalMins) {
Write-Warning"PasswordBox '$($pwb.Name)' regex does not have a minimum length of $PasswordMinLength" -TargetObject $pwb
Write-Warning "PasswordBox '$($pwb.Name)' regex does not have a minimum length of $PasswordMinLength" -TargetObject $pwb
}
}
} catch {
Expand Down

0 comments on commit 2c14c0d

Please sign in to comment.