Skip to content

Commit 958fde2

Browse files
committed
Update
1 parent 12cf97e commit 958fde2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Automation/Import-CommonVariables.ps1

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ $component_name = $clientNameSpace.Substring($clientNameSpace.LastIndexOf('.') +
8585

8686
# The base cmdlet from which all automation cmdlets derive
8787
[string]$baseCmdletFullName = "Microsoft.Azure.Commands.${component_name}.${component_name}ClientBaseCmdlet";
88-
if ($clientNameSpace -like "Microsoft.WindowsAzure.Management.${component_name}")
88+
if ($clientNameSpace -eq "Microsoft.WindowsAzure.Management.${component_name}")
8989
{
9090
# Overwrite RDFE base cmdlet name
9191
$baseCmdletFullName = "Microsoft.WindowsAzure.Commands.Utilities.Common.ServiceManagementBaseCmdlet";
9292
}
9393

9494
# The property field to access the client wrapper class from the base cmdlet
9595
[string]$baseClientFullName = "${component_name}Client.${component_name}ManagementClient";
96-
if ($clientNameSpace -like "Microsoft.WindowsAzure.Management.${component_name}")
96+
if ($clientNameSpace -eq "Microsoft.WindowsAzure.Management.${component_name}")
9797
{
9898
# Overwrite RDFE base cmdlet name
9999
$baseClientFullName = "${component_name}Client";
@@ -115,7 +115,8 @@ Write-Verbose "Base Cmdlet Full Name = $baseCmdletFullName";
115115
Write-Verbose "Base Client Full Name = $baseClientFullName";
116116
Write-Verbose "Cmdlet Flavor = $cmdletFlavor";
117117
Write-Verbose "Operation Name Filter = $operationNameFilter";
118-
Write-Verbose ($BAR_LINE + $NEW_LINE);
118+
Write-Verbose $BAR_LINE;
119+
Write-Verbose $NEW_LINE;
119120

120121
$code_common_namespace = ($clientNameSpace.Replace('.Management.', '.Commands.')) + '.Automation';
121122
$code_model_namespace = ($clientNameSpace.Replace('.Management.', '.Commands.')) + '.Automation.Models';

0 commit comments

Comments
 (0)