Skip to content

Commit a97d1d2

Browse files
authored
Update MoveFromGeneration2Master.ps1 (#13728)
Fix a path related issue
1 parent b0b61c9 commit a97d1d2

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
@@ -68,7 +68,7 @@ Function Move-Generation2Master {
6868
}
6969
If ($Null -eq $RequiredModule) {
7070
$FullDestPath = Resolve-Path -path $DestPath
71-
$AccountsModulePath = [System.IO.Path]::Combine($FullDestPath, 'Accounts', 'Accounts')
71+
$AccountsModulePath = [System.IO.Path]::Combine($FullDestPath, '..', 'Accounts', 'Accounts')
7272
$AccountsMetadata = Import-LocalizedData -BaseDirectory $AccountsModulePath -FileName "Az.Accounts.psd1"
7373
$RequiredModule = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = $AccountsMetadata.ModuleVersion; })
7474
}

0 commit comments

Comments
 (0)