Skip to content

Commit 561407b

Browse files
committed
remove extra filter
1 parent 37a20dd commit 561407b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Common/Commands.ResourceManager.Common/TabCompleter/ResourceGroupCompleter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private static ScriptBlock CreateScriptBlock()
124124
{
125125
string script = "param($commandName, $parameterName, $wordToComplete, $commandAst, $fakeBoundParameter)\n" +
126126
"$locations = [Microsoft.Azure.Commands.ResourceManager.Common.TabCompletion.ResourceGroupCompleterAttribute]::GetResourceGroups()\n" +
127-
"$locations | Where-Object { $_ -Like \"$wordToComplete*\" } | Select-Object -First 50 | ForEach-Object { [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_) }";
127+
"$locations | Where-Object { $_ -Like \"$wordToComplete*\" } | ForEach-Object { [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_) }";
128128
ScriptBlock scriptBlock = ScriptBlock.Create(script);
129129
return scriptBlock;
130130
}

0 commit comments

Comments
 (0)