Skip to content

Commit dc1cec4

Browse files
authored
Remove extra brackets (Azure#13689)
* Support "Move-Generation2Master" script for full path input * Unified path * Remove extra brackets * Remove extra brackets
1 parent 2ac2452 commit dc1cec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/Gen2Master/MoveFromGeneration2Master.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Function Move-Generation2Master {
88

99
process {
1010
$ModuleName = ($SourcePath.Trim("\").Split("\"))[-1]
11-
If (-not ($DestPath.Trim("\").Split("\"))[-1] -eq $ModuleName)) {
11+
If (-not ($DestPath.Trim("\").Split("\"))[-1] -eq $ModuleName) {
1212
$DestPath = Join-Path -Path $DestPath -ChildPath $ModuleName
1313
}
1414
If (-not (Test-Path $DestPath)) {

0 commit comments

Comments
 (0)