Skip to content

Commit a92606b

Browse files
authored
Fix the issue that the autogenerated doc cannot be updated in hybrid module (#21781)
1 parent ec77580 commit a92606b

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
@@ -269,7 +269,7 @@ Function Move-Generation2MasterHybrid {
269269
if (-not (Test-Path (Join-Path -Path (Join-Path -Path $DestPath -ChildPath $ModuleName) -ChildPath "Az.$ModuleName.psd1"))) {
270270
$Psd1FolderPostfix = '.Management'
271271
}
272-
Copy-Item -Path ("$SourcePath\{0}\docs\*" -f $submoduleDir.Name) -Destination "$DestPath\$ModuleName$Psd1FolderPostfix\help" -Filter *-*
272+
Copy-Item -Path ("$SourcePath\{0}\docs\*" -f $submoduleDir.Name) -Destination "$DestPath\$ModuleName$Psd1FolderPostfix\help" -Filter *-* -Force
273273

274274
#Region generate-info.json Here have a issue that user may not use latest version to generate the code.
275275
$generateInfo = @{}

0 commit comments

Comments
 (0)