Skip to content

Commit

Permalink
removed unused variable from ScriptAnalyzer (#4156)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpomfret authored and potatoqualitee committed Oct 9, 2018
1 parent 6472724 commit d2988cb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions functions/New-DbaLogin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,6 @@
}
else {
$loginCollection += $Login
$Login | ForEach-Object {
if ($_.IndexOf('\') -eq -1 -and $PsCmdlet.ParameterSetName -like "Password*" -and !($Password -or $HashedPassword)) {
$passwordNotSpecified = $true
}
}
}
foreach ($instance in $SqlInstance) {
try {
Expand Down

0 comments on commit d2988cb

Please sign in to comment.