Skip to content

Commit 4260607

Browse files
Update scripts/helpers/Build-PSModuleDocumentation.ps1
Co-authored-by: Copilot <[email protected]>
1 parent ef95348 commit 4260607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/helpers/Build-PSModuleDocumentation.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
Write-Host '::group::Build docs - Generate markdown help - Raw'
4949
Install-PSModule -Path $ModuleOutputFolder
50-
$moduleInfo = Import-Module -Name $ModuleName -PassThru -Verbose:$false
50+
$moduleInfo = Import-Module -Name $ModuleName -PassThru -Verbose:$false -Force
5151

5252
# Get all exported commands from the module
5353
$commands = $moduleInfo.ExportedCommands.Values | Where-Object { $_.CommandType -ne 'Alias' }

0 commit comments

Comments
 (0)