Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion private/functions/Convert-DbaIndexToTable.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ function Convert-DbaIndexToTable {
begin {
# Some parameter checking
if (-not $SqlInstance) {
Stop-Function -Message "Please enter an instance" -Continue
# No -Continue here: this block has no enclosing loop, so the continue would escape the command
# and eat an iteration of whatever loop the caller runs in (#10638).
Stop-Function -Message "Please enter an instance"
return
}

# Get the database
Expand Down
Loading