Skip to content

Commit 6db6b23

Browse files
authored
Merge pull request Azure#11363 from wyunchi-ms/wyunchi/bugfix/RunVersionController
Fix the bug of RunVerioncontroller.ps1
2 parents 4bf21f2 + 30f6394 commit 6db6b23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/RunVersionController.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ switch ($PSCmdlet.ParameterSetName)
185185
# clean the unnecessary SerializedCmdlets json file
186186
$ExistSerializedCmdletJsonFile = Get-ExistSerializedCmdletJsonFile
187187
$ExpectJsonHashSet = @{}
188-
$SrcPath = "..\src"
188+
$SrcPath = Join-Path -Path $PSScriptRoot -ChildPath "..\src"
189189
foreach ($ModuleName in $(Get-ChildItem $SrcPath -Directory).Name)
190190
{
191191
$ModulePath = $(Join-Path -Path $SrcPath -ChildPath $ModuleName)

0 commit comments

Comments
 (0)