Skip to content

Commit 0bf016d

Browse files
authored
Fix the issue that cannot run gen2main (#23680)
1 parent b975da2 commit 0bf016d

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
@@ -203,7 +203,7 @@ Function Move-Generation2Master {
203203
Copy-Item -Path "$DestPath\$ModuleName.Autorest\help\Az.$ModuleName.md" -Destination $HelpFolder -Recurse
204204
New-MarkdownHelp -UseFullTypeName -AlphabeticParamsOrder -Module "Az.$ModuleName" -OutputFolder $HelpFolder
205205
}
206-
} -ArgumentList $ScriptRoot, $ModuleName, $DestPath, $Psd1FolderPostfix
206+
} -ArgumentList $PSScriptRoot, $ModuleName, $DestPath, $Psd1FolderPostfix
207207

208208
$job | Wait-Job | Receive-Job
209209
}

0 commit comments

Comments
 (0)