File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,7 @@ function New-MarkdownHelp
73
73
74
74
[hashtable ]$Metadata ,
75
75
76
- [Parameter (
77
- ParameterSetName = " FromCommand" )]
76
+ [Parameter (ParameterSetName = " FromCommand" )]
78
77
[string ]$OnlineVersionUrl = ' ' ,
79
78
80
79
[Parameter (Mandatory = $true )]
@@ -653,7 +652,7 @@ function Update-MarkdownHelpModule
653
652
if ( -not ($updatedCommands -contains $_ ) )
654
653
{
655
654
log ($LocalizedData.CreatingNewMarkdownForCommand -f $_ )
656
- $newFiles = New-MarkdownHelp - Command $_ - OutputFolder $modulePath - AlphabeticParamsOrder:$AlphabeticParamsOrder
655
+ $newFiles = New-MarkdownHelp - Command $_ - OutputFolder $modulePath - AlphabeticParamsOrder:$AlphabeticParamsOrder - Force: $Force
657
656
$newFiles # yeild
658
657
}
659
658
}
@@ -812,7 +811,7 @@ function New-ExternalHelp
812
811
Write-Verbose - Message ($LocalizedData.OutputPathAsDirectory -f ' [New-ExternalHelp]' , $OutputPath )
813
812
}
814
813
815
- if ( -not $ShowProgress.IsPresent -or $ (Get-Variable - Name IsCoreClr - ValueOnly - ErrorAction SilentlyContinue) )
814
+ if ( -not $ShowProgress -or $ (Get-Variable - Name IsCoreClr - ValueOnly - ErrorAction SilentlyContinue) )
816
815
{
817
816
Function Write-Progress () {}
818
817
}
You can’t perform that action at this time.
0 commit comments