Skip to content

Commit 74ae461

Browse files
authored
Fix the path issue (Azure#13783)
1 parent 4101017 commit 74ae461

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)