Skip to content

Commit e48d817

Browse files
Refactor Build-PSModuleDocumentation.ps1 to replace Import-PSModule with Install-PSModule for improved module installation process.
1 parent 26567f0 commit e48d817

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
@@ -46,7 +46,7 @@
4646
$docsOutputFolder = New-Item -Path $DocsOutputFolderPath -ItemType Directory -Force
4747

4848
Write-Host '::group::Build docs - Generate markdown help - Raw'
49-
Import-PSModule -Path $ModuleOutputFolder
49+
Install-PSModule -Path $ModuleOutputFolder
5050
Write-Host ($ModuleName | Get-Module)
5151
$null = New-MarkdownHelp -Module $ModuleName -OutputFolder $DocsOutputFolder -Force -Verbose
5252
Get-ChildItem -Path $DocsOutputFolder -Recurse -Force -Include '*.md' | ForEach-Object {

0 commit comments

Comments
 (0)