Skip to content

Commit eda2e76

Browse files
committed
merge changes
1 parent ab86e95 commit eda2e76

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ResourceManager/Common/Commands.ResourceManager.Common/ArgumentCompleters/LocationCompleter.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
namespace Microsoft.Azure.Commands.ResourceManager.Common.Location
1615
namespace Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters
1716
{
1817
using Commands.Common.Authentication.Abstractions;
@@ -187,7 +186,7 @@ public static ScriptBlock CreateScriptBlock(string[] resourceTypes)
187186
{
188187
string scriptResourceTypeList = "{" + String.Join(",", resourceTypes) + "}";
189188
string script = "param($commandName, $parameterName, $wordToComplete, $commandAst, $fakeBoundParameter)\n" +
190-
String.Format("$locations = [Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.LocationCompleterAttribute]::FindLocations({0})\n", scriptResourceTypeList) +
189+
String.Format("$locations = [Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.LocationCompleterAttribute]::FindLocations({0})\n", scriptResourceTypeList) +
191190
"$locations | Where-Object { $_ -Like \"`\"$wordToComplete*\" } | Sort-Object | ForEach-Object { [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_) }";
192191
ScriptBlock scriptBlock = ScriptBlock.Create(script);
193192
return scriptBlock;

0 commit comments

Comments
 (0)