Skip to content

Commit 899f422

Browse files
author
Robin Stolpe
committed
update
1 parent 4789164 commit 899f422

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

MaintainModule/MaintainModule.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#
1919
# Generated by: Robin Stolpe
2020
#
21-
# Generated on: 2022-11-30
21+
# Generated on: 2022-12-01
2222
#
2323

2424
@{

RSModuleBuilder.ps1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -151,16 +151,16 @@ $ResultPSDPSM = foreach ($file in $CheckPSA) {
151151

152152
# Import the module and save the Get-Help files to the $HelpPath for the module, files get saved in .md format
153153
Write-Verbose "Importing $($ModuleName) to the session..."
154-
Import-Module -Name $($ModuleFolderPath) -MinimumVersion $Version -Force
154+
#Import-Module -Name $($ModuleFolderPath) -MinimumVersion $Version -Force
155155

156156
Write-Verbose "Writing $($ModuleName) functions to help files in $($HelpPath)..."
157-
$mCommands = Get-Command -Module $ModuleName
158-
foreach ($m in $mCommands) {
159-
if ($null -ne $m) {
160-
Write-Verbose "Creating help file of function $($m.Name)..."
161-
Get-Help -name $m.Name -Full | Out-File -Encoding UTF8BOM -FilePath $(Join-Path -Path $HelpPath -ChildPath "$($m.Name).md")
162-
}
163-
}
157+
#$mCommands = Get-Command -Module $ModuleName
158+
#foreach ($m in $mCommands) {
159+
# if ($null -ne $m) {
160+
# Write-Verbose "Creating help file of function $($m.Name)..."
161+
# Get-Help -name $m.Name -Full | Out-File -Encoding UTF8BOM -FilePath $(Join-Path -Path $HelpPath -ChildPath "$($m.Name).md")
162+
# }
163+
#}
164164

165165
Write-Output "`n== Summery of PSScriptAnalyzer =="
166166
$ResultPS1

test/PSScriptAnalyzer_Uninstall-RSModule_2022-11-30.md renamed to test/PSScriptAnalyzer_Uninstall-RSModule_2022-12-01.md

File renamed without changes.

0 commit comments

Comments
 (0)