diff --git a/.github/actions/.pwsh/module/functions/api/Add-PullRequestComment.ps1 b/.github/actions/.pwsh/module/functions/api/Add-PullRequestComment.ps1 index 524d74c2ec18..c558bbfef4ca 100644 --- a/.github/actions/.pwsh/module/functions/api/Add-PullRequestComment.ps1 +++ b/.github/actions/.pwsh/module/functions/api/Add-PullRequestComment.ps1 @@ -16,7 +16,7 @@ .PARAMETER BodyText The raw markdown text to write as a comment on the PR. .PARAMETER BodyFile - The path to the markdown file to write as a comment on the PR. Due to the way GitHub mistreats + The path to the markdown file to write as a comment on the PR. Due to the way GitHub mistreats soft line breaks as hard line breaks in comments (unlike files), the markdown in a body file is converted to HTML when writing the comment. From the user perspective, it's a normal comment. .EXAMPLE diff --git a/.github/actions/.pwsh/module/functions/utility/Add-VersionedContentTable.ps1 b/.github/actions/.pwsh/module/functions/utility/Add-VersionedContentTable.ps1 index a4490a5de261..76bf4ece4afa 100644 --- a/.github/actions/.pwsh/module/functions/utility/Add-VersionedContentTable.ps1 +++ b/.github/actions/.pwsh/module/functions/utility/Add-VersionedContentTable.ps1 @@ -37,9 +37,9 @@ [PSCustomObject]@{ VersionRelativePath = 'foo.md' Versions = @( - @{ Version = '1.1'; ChangeType = 'N/A' } - @{ Version = '1.2'; ChangeType = 'unchanged' } - @{ Version = '1.3'; ChangeType = 'modified' } + @{ Version = '1.1'; ChangeType = 'N/A' } + @{ Version = '1.2'; ChangeType = 'unchanged' } + @{ Version = '1.3'; ChangeType = 'modified' } ) } [PSCustomObject]@{ @@ -56,7 +56,7 @@ $Summary.ToString() ``` - ```output + ```Output | Version-Relative Path | 1.1 | 1.2 | 1.3 | |:-----------------------------|:----------:|:----------:|:----------:| | `foo.md` | N/A | Unchanged | Modified | @@ -70,11 +70,11 @@ - The file `bar/baz.md` was added in all three versions. The second command creates a new **StringBuilder** object to write the table to. - + The third command uses this cmdlet to write a versioned content summary table to `$Summary`. Because neither **RelativePathWidth** nor **VersionWidth** were passed to the cmdlet, it - calculates the required column withs dynamically. - + calculates the required column widths dynamically. + The final command displays the string the third command has built. #> function Add-VersionedContentTable { @@ -99,7 +99,7 @@ function Add-VersionedContentTable { } } process { - #region Column Widths + #region Column Widths if (($RelativePathWidth -eq 0) -and ($VersionWidth -eq 0)) { $RelativePathWidth, $VersionWidth = Get-VersionedContentTableColumnWidth @WidthParams } elseif ($RelativePathWidth -eq 0) { @@ -109,8 +109,8 @@ function Add-VersionedContentTable { $WidthParams.Add('Version', $true) $VersionWidth = Get-VersionedContentTableColumnWidth @WidthParams } - #endregion ColumnWidths - #region Setup the table header + #endregion Column Widths + #region Setup the table header $null = $Summary.Append("|$(' Version-Relative Path'.PadRight($RelativePathWidth))") # Retrieve the list of unique versions $VersionList = $ChangeSet.Versions.Version | Select-Object -Unique diff --git a/.github/actions/.pwsh/module/functions/utility/Format-ConsoleStyle.ps1 b/.github/actions/.pwsh/module/functions/utility/Format-ConsoleStyle.ps1 index ed75538cbcae..49d13a0e114a 100644 --- a/.github/actions/.pwsh/module/functions/utility/Format-ConsoleStyle.ps1 +++ b/.github/actions/.pwsh/module/functions/utility/Format-ConsoleStyle.ps1 @@ -27,7 +27,7 @@ Format-ConsoleStyle -Text 'hooray!' -DefinedStyle Success ``` - The cmdlet returns the string `hooray!` in bright blue and bolded. + The cmdlet returns the string `hooray!` in bright blue and bolded. #> function Format-ConsoleStyle { [CmdletBinding(DefaultParameterSetName='Components')] @@ -67,4 +67,4 @@ function Format-ConsoleStyle { } end {} -} \ No newline at end of file +} diff --git a/.github/actions/.pwsh/module/functions/utility/Format-GHAConsoleText.ps1 b/.github/actions/.pwsh/module/functions/utility/Format-GHAConsoleText.ps1 index 50d9acabf355..37962e6ad960 100644 --- a/.github/actions/.pwsh/module/functions/utility/Format-GHAConsoleText.ps1 +++ b/.github/actions/.pwsh/module/functions/utility/Format-GHAConsoleText.ps1 @@ -22,7 +22,7 @@ Format-GHAConsoleText -Text $Text ``` - ```output + ```Output This is a very long string with multiple paragraphs. It will certainly need to be reflowed in a few different places. It's not always easy to read long lines like this in the console. @@ -95,4 +95,4 @@ function Format-GHAConsoleText { } end {} -} \ No newline at end of file +} diff --git a/.github/actions/.pwsh/module/functions/utility/Get-ActionScriptParameter.ps1 b/.github/actions/.pwsh/module/functions/utility/Get-ActionScriptParameter.ps1 index 49d6820faddc..75cfc9bbf4ec 100644 --- a/.github/actions/.pwsh/module/functions/utility/Get-ActionScriptParameter.ps1 +++ b/.github/actions/.pwsh/module/functions/utility/Get-ActionScriptParameter.ps1 @@ -7,7 +7,7 @@ .PARAMETER ParameterHandler Specify one or more parameter handlers, such as those as kept in an action's `Parameters.psd1` file. Make sure the hashtable in those data files is converted to a **PSCustomObject**. - + Parameter handlers have the following properties: - **Name:** The name of the _input_ parameter to the action. This is @@ -75,7 +75,7 @@ function Get-ActionScriptParameter { process { $Stringified = $ScriptBlock.Ast.EndBlock.Extent.Text?.Trim() # Scriptblocks from data files get wrapped in extra curly braces, preventing them - # from being invokable. Normally just the contents shows up when calling ToString() + # from being invocable. Normally just the contents shows up when calling ToString() # on a scriptblock, so this is one way to tell. if ($Stringified -match '^\{') { $NestedBlock = $ScriptBlock.Ast.FindAll($Predicate, $true) @@ -144,4 +144,4 @@ function Get-ActionScriptParameter { end { $ActionParameters } -} \ No newline at end of file +} diff --git a/.github/actions/.pwsh/module/functions/utility/Get-GHAConsoleError.ps1 b/.github/actions/.pwsh/module/functions/utility/Get-GHAConsoleError.ps1 index c4b88bd391d2..d7fcc0fabf2d 100644 --- a/.github/actions/.pwsh/module/functions/utility/Get-GHAConsoleError.ps1 +++ b/.github/actions/.pwsh/module/functions/utility/Get-GHAConsoleError.ps1 @@ -31,7 +31,7 @@ function Get-GHAConsoleError { [parameter(ValueFromPipeline)] [psobject]$InputObject ) - + begin { $Properties = @( 'FullyQualifiedErrorId' @@ -50,10 +50,10 @@ function Get-GHAConsoleError { 'ScriptStackTrace' ) } - + process { Get-Error @PSBoundParameters | Select-Object -Property $Properties } - + end {} -} \ No newline at end of file +} diff --git a/.github/actions/.pwsh/module/functions/utility/Get-VersionedContentChangeStatus.ps1 b/.github/actions/.pwsh/module/functions/utility/Get-VersionedContentChangeStatus.ps1 index 8ccbf50dbd8b..b60561c65f41 100644 --- a/.github/actions/.pwsh/module/functions/utility/Get-VersionedContentChangeStatus.ps1 +++ b/.github/actions/.pwsh/module/functions/utility/Get-VersionedContentChangeStatus.ps1 @@ -47,7 +47,7 @@ Get-VersionedContentChangeStatus -ChangedContent $Changes | ConvertTo-Json -Depth 3 ``` - ```output + ```Output [ { "VersionRelativePath": "Microsoft.PowerShell.Core/About/about_Pwsh.md", @@ -123,7 +123,7 @@ function Get-VersionedContentChangeStatus { break } } - + if ($AddEntry) { $VersionedContent += [pscustomobject]@{ VersionRelativePath = $VersionRelativePath @@ -191,4 +191,4 @@ function Get-VersionedContentChangeStatus { } end {} -} \ No newline at end of file +} diff --git a/.github/actions/.pwsh/module/functions/utility/Get-VersionedContentTableColumnWidth.ps1 b/.github/actions/.pwsh/module/functions/utility/Get-VersionedContentTableColumnWidth.ps1 index 7ac6d23ac6ca..04deec36f2e8 100644 --- a/.github/actions/.pwsh/module/functions/utility/Get-VersionedContentTableColumnWidth.ps1 +++ b/.github/actions/.pwsh/module/functions/utility/Get-VersionedContentTableColumnWidth.ps1 @@ -41,9 +41,9 @@ [PSCustomObject]@{ VersionRelativePath = 'foo.md' Versions = @( - @{ Version = '1.1'; ChangeType = 'N/A' } - @{ Version = '1.2'; ChangeType = 'unchanged' } - @{ Version = '1.3'; ChangeType = 'modified' } + @{ Version = '1.1'; ChangeType = 'N/A' } + @{ Version = '1.2'; ChangeType = 'unchanged' } + @{ Version = '1.3'; ChangeType = 'modified' } ) } [PSCustomObject]@{ @@ -60,7 +60,7 @@ "Version Column Width: $VersionWidth" ``` - ```output + ```Output Relative Path Column Width: 30 Version Column Width: 12 ``` @@ -83,9 +83,9 @@ [PSCustomObject]@{ VersionRelativePath = 'foo.md' Versions = @( - @{ Version = '1.1'; ChangeType = 'N/A' } - @{ Version = '1.2'; ChangeType = 'unchanged' } - @{ Version = '1.3'; ChangeType = 'modified' } + @{ Version = '1.1'; ChangeType = 'N/A' } + @{ Version = '1.2'; ChangeType = 'unchanged' } + @{ Version = '1.3'; ChangeType = 'modified' } ) } [PSCustomObject]@{ @@ -100,10 +100,10 @@ Get-VersionedContentTableColumnWidth -ChangeSet $ChangeSet -RelativePath -DefaultWidth 5 ``` - ```output + ```Output 14 ``` - + The first command constructs an arbitrary changeset. The second command uses this cmdlet to determine the width of the **RelativePath** column for a @@ -141,7 +141,7 @@ function Get-VersionedContentTableColumnWidth { ) process { - #region RelativePath + #region RelativePath if ($RelativePath -or !$Version) { # Set the default width for RelativePath unless specified by user $RelativePathWidth = ($DefaultWidth -lt 1) ? 30 : $DefaultWidth diff --git a/.github/actions/.pwsh/module/functions/utility/New-CliErrorRecord.ps1 b/.github/actions/.pwsh/module/functions/utility/New-CliErrorRecord.ps1 index 685c375130c6..abdd8ae1d45d 100644 --- a/.github/actions/.pwsh/module/functions/utility/New-CliErrorRecord.ps1 +++ b/.github/actions/.pwsh/module/functions/utility/New-CliErrorRecord.ps1 @@ -16,7 +16,7 @@ record so a user can understand what was called when the command failed. .PARAMETER Intent Specifies what the `gh` command was supposed to do at a high level. This becomes part of the - expection messge. + exception message. .PARAMETER ErrorID Specifies an identifier for the error record. .EXAMPLE @@ -32,10 +32,10 @@ New-CliErrorRecord @ErrorInfo ``` - ```output - Exception : + ```Output + Exception : Type : System.ApplicationException - TargetSite : + TargetSite : Name : ThrowTerminatingError DeclaringType : System.Management.Automation.MshCommandRuntime, System.Management.Automation, Version=7.2.4.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35 MemberType : Method @@ -46,11 +46,11 @@ Source : System.Management.Automation HResult : -2146232832 - StackTrace : + StackTrace : at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord) CategoryInfo : PermissionDenied: (:String) [Test-Authorization.ps1], ApplicationException FullyQualifiedErrorId : GHA.NotPermittedToTarget,Test-Authorization.ps1 - InvocationInfo : + InvocationInfo : MyCommand : Test-Authorization.ps1 ScriptLineNumber : 1 OffsetInLine : 1 @@ -74,7 +74,7 @@ function New-CliErrorRecord { [string]$Intent, [string]$ErrorID ) - + begin { $AcceptableErrors = @( @{ @@ -83,7 +83,7 @@ function New-CliErrorRecord { } ) } - + process { foreach ($AcceptableError in $AcceptableErrors) { if ($ResultString -match $AcceptableError.Pattern) { @@ -104,6 +104,6 @@ function New-CliErrorRecord { $TargetObject ) } - + end {} -} \ No newline at end of file +} diff --git a/.github/actions/.pwsh/module/gha.psd1 b/.github/actions/.pwsh/module/gha.psd1 index f38c0f3ed88c..8d73e878c7a9 100644 --- a/.github/actions/.pwsh/module/gha.psd1 +++ b/.github/actions/.pwsh/module/gha.psd1 @@ -101,4 +101,4 @@ } # End of PSData hashtable } # End of PrivateData hashtable - } +} diff --git a/.github/actions/.pwsh/scripts/Add-Expectations.md b/.github/actions/.pwsh/scripts/Add-Expectations.md index f2c4041a5d14..4d24e4a5266e 100644 --- a/.github/actions/.pwsh/scripts/Add-Expectations.md +++ b/.github/actions/.pwsh/scripts/Add-Expectations.md @@ -8,7 +8,7 @@ Ensures all open community PRs have an expectations comment. ### __AllParameterSets (default) -```syntax +```Syntax .\Add-Expectations.ps1 [-Owner] [-Repo] diff --git a/.github/actions/.pwsh/scripts/Test-Authorization.md b/.github/actions/.pwsh/scripts/Test-Authorization.md index e26e6b92f27b..4b695d076f09 100644 --- a/.github/actions/.pwsh/scripts/Test-Authorization.md +++ b/.github/actions/.pwsh/scripts/Test-Authorization.md @@ -178,4 +178,4 @@ Accept wildcard characters: False The **TargetBranch** and **TargetPath** parameters are for convenience; GitHub repositories do not have a built-in way to define permissions for branches or folders except for branch protection, which isn't enough for this purpose. To ensure this script is effective, use the **branches** -and **paths** settings in the workflow when defining a **pull_request_target** job trigger. \ No newline at end of file +and **paths** settings in the workflow when defining a **pull_request_target** job trigger. diff --git a/.github/actions/.pwsh/scripts/Test-Checklist.md b/.github/actions/.pwsh/scripts/Test-Checklist.md index e7a737a3a290..6ccd15ce530e 100644 --- a/.github/actions/.pwsh/scripts/Test-Checklist.md +++ b/.github/actions/.pwsh/scripts/Test-Checklist.md @@ -8,7 +8,7 @@ Inspects Markdown to find checklist items and their status ### __AllParameterSets (Default) -```syntax +```Syntax .\Test-Checklist.ps1 [-Body] [[-ReferenceUrl] ] diff --git a/.github/actions/.pwsh/scripts/readme.md b/.github/actions/.pwsh/scripts/readme.md index ed24ba06cfeb..e33d77fe3f03 100644 --- a/.github/actions/.pwsh/scripts/readme.md +++ b/.github/actions/.pwsh/scripts/readme.md @@ -1,7 +1,7 @@ # Action Scripts -This folder contains the scripts used by the GitHub Actions (GHA). Each script is used by a different -action: +This folder contains the scripts used by the GitHub Actions (GHA). Each script is used by a +different action: | Script | Action | | :----------------------------------------- | :------------------------------------------------- | diff --git a/.github/actions/reporting/stale-content/v1/Parameters.psd1 b/.github/actions/reporting/stale-content/v1/Parameters.psd1 index fe59d94d820a..56a419e1b539 100644 --- a/.github/actions/reporting/stale-content/v1/Parameters.psd1 +++ b/.github/actions/reporting/stale-content/v1/Parameters.psd1 @@ -105,7 +105,7 @@ } # Because DaysUntilStale and StaleSinceDate belong to different - # parameter sets, remove DaysUntilStale before adding StaleSinceDate. + # parameter sets, remove DaysUntilStale before adding StaleSinceDate. if ($Parameters.ContainsKey('DaysUntilStale')) { $Message = @( 'Specified both days_until_stale and stale_since_date parameters;' @@ -133,7 +133,7 @@ } Process = { param($Parameters, $Value, $ErrorTarget) - + if ([string]::IsNullOrEmpty($Value)) { return $Parameters } @@ -142,7 +142,7 @@ $Message = @( 'Specified both export_as_csv and upload_artifact parameters;' 'upload_artifact implies export_as_csv, so you do not need to' - 'specify both. The stale content report willbe exported as a' + 'specify both. The stale content report will be exported as a' 'CSV and uploaded as an artifact in this action.' ) -join ' ' Write-Warning $Message @@ -183,7 +183,7 @@ $Message = @( 'Specified both export_as_csv and upload_artifact parameters;' 'upload_artifact implies export_as_csv, so you do not need to' - 'specify both. The stale content report willbe exported as a' + 'specify both. The stale content report will be exported as a' 'CSV and uploaded as an artifact in this action.' ) -join ' ' Write-Warning $Message @@ -241,4 +241,4 @@ } } ) -} \ No newline at end of file +} diff --git a/.github/actions/verification/authorization/v1/action.yml b/.github/actions/verification/authorization/v1/action.yml index da3cb149b2e4..fee05609d9bd 100644 --- a/.github/actions/verification/authorization/v1/action.yml +++ b/.github/actions/verification/authorization/v1/action.yml @@ -8,7 +8,7 @@ inputs: description: | The permissions a user requires to perform a given task. Must be a comma-separated string of valid permissions. Valid permissions are (case-insensitive): - + - `Admin` - `Maintain` - `Pull` @@ -38,7 +38,7 @@ inputs: `pull_request` or `pull_request_target` trigger. You can use those settings together. For more information, see the documentation for the [branches][syntax-docs-branches] and [paths][syntax-docs-paths] settings for workflows in GitHub's documentation. - + To specify multiple branches, separate each branch by a comma and/or newline, like `branch: live, production`. To specify a filepath, specify one or more path separated by a comma and/or a newline, like `path: foo/**/*.md, bar/*.json`. @@ -80,7 +80,7 @@ runs: steps: - shell: pwsh env: - INPUT_REPOSITORY: ${{ inputs.repository }} + INPUT_REPOSITORY: ${{ inputs.repository }} INPUT_PERMISSIONS: ${{ inputs.permissions }} INPUT_TARGET: ${{ inputs.target }} INPUT_USER: ${{ inputs.user }} @@ -99,7 +99,7 @@ runs: $ActionRootPath = Split-Path -Parent -Path $ActionRootPath } "Action Root Path: $ActionRootPath" - + $JoinPathParams = @{ Path = $ActionRootPath ChildPath = '.pwsh' diff --git a/.github/actions/verification/checklist/v1/action.yml b/.github/actions/verification/checklist/v1/action.yml index dadb2a3d1beb..151acc589aef 100644 --- a/.github/actions/verification/checklist/v1/action.yml +++ b/.github/actions/verification/checklist/v1/action.yml @@ -58,7 +58,7 @@ runs: - shell: pwsh env: INPUT_REFERENCE_URL: ${{ inputs.reference_url }} - INPUT_BODY: ${{ inputs.body }} + INPUT_BODY: ${{ inputs.body }} run: | Write-Output "::group::Generic Setup" $ActionPath = Resolve-Path '${{ github.action_path }}' | Select-Object -ExpandProperty Path @@ -73,7 +73,7 @@ runs: $ActionRootPath = Split-Path -Parent -Path $ActionRootPath } "Action Root Path: $ActionRootPath" - + $JoinPathParams = @{ Path = $ActionRootPath ChildPath = '.pwsh' @@ -96,7 +96,7 @@ runs: Write-Output "::group::Parameter Validation" $Parameters = Get-ActionScriptParameter -ParameterHandler $ParameterHandlers Write-Output "::endgroup::" - + Write-Output "::group::Verify Checklist" . $ScriptPath @Parameters Write-Output "::endgroup::" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 88fc0a1d6e73..866e2906df7a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,4 +3,4 @@ Thank you for your interest in contributing to quality documentations. As an open source project, we welcome input and updates from the community. -Please see our Contributor's Guide at +Please see our Contributor's Guide at [https://aka.ms/PSDocsContributor](https://aka.ms/PSDocsContributor) diff --git a/tests/Pester/Update-Help.Tests.ps1 b/tests/Pester/Update-Help.Tests.ps1 index 11f126a47866..8c36bc6ad93a 100644 --- a/tests/Pester/Update-Help.Tests.ps1 +++ b/tests/Pester/Update-Help.Tests.ps1 @@ -95,7 +95,7 @@ function GetFiles [string]$path ) - Get-ChildItem $path -Include $fileType -Recurse -ea SilentlyContinue | Select-Object -ExpandProperty FullName + Get-ChildItem $path -Include $fileType -Recurse -ErrorAction SilentlyContinue | Select-Object -ExpandProperty FullName } function ValidateInstalledHelpContent @@ -105,7 +105,7 @@ function ValidateInstalledHelpContent [string]$moduleName ) - $helpFilesInstalled = @(GetFiles -path $testCases[$moduleName].HelpInstallationPath | ForEach-Object {Split-Path $_ -Leaf}) + $helpFilesInstalled = @(GetFiles -Path $testCases[$moduleName].HelpInstallationPath | ForEach-Object {Split-Path $_ -Leaf}) $expectedHelpFiles = @($testCases[$moduleName].HelpFiles) $helpFilesInstalled.Count | Should Be $expectedHelpFiles.Count @@ -126,7 +126,7 @@ function RunUpdateHelpTests It "Validate Update-Help for module '$moduleName'" { # If the help file is already installed, delete it. - Get-ChildItem $testCases[$moduleName].HelpInstallationPath -Include @("about_*.txt","*help.xml") -Recurse -ea SilentlyContinue | + Get-ChildItem $testCases[$moduleName].HelpInstallationPath -Include @("about_*.txt","*help.xml") -Recurse -ErrorAction SilentlyContinue | Remove-Item -Force -ErrorAction SilentlyContinue if ($useSourcePath) diff --git a/tests/PowerShellDocsTests.psm1 b/tests/PowerShellDocsTests.psm1 index 2e467175e333..7cd68ae0c5db 100644 --- a/tests/PowerShellDocsTests.psm1 +++ b/tests/PowerShellDocsTests.psm1 @@ -21,7 +21,7 @@ function Test-PSPesterResults throw "Test result file '$testResultsFile' not found." } - $x = [xml](Get-Content -raw $testResultsFile) + $x = [xml](Get-Content -Raw $testResultsFile) if ([int]$x.'test-results'.failures -gt 0) { logerror "TEST FAILURES" diff --git a/tools/build-updatedhelp.ps1 b/tools/build-updatedhelp.ps1 index 487fe338e69d..b0f4b9099cb3 100644 --- a/tools/build-updatedhelp.ps1 +++ b/tools/build-updatedhelp.ps1 @@ -1,7 +1,7 @@ <# Usage: - 1. Clone the docs respository + 1. Clone the docs repository cd C:\temp git clone https://github.com/MicrosoftDocs/PowerShell-Docs.git @@ -35,9 +35,9 @@ $pandocSourceURL = "https://github.com/jgm/pandoc/releases/download/$panDocVersi $docToolsPath = New-Item (Join-Path $tempDir "doctools") -ItemType Directory -Force -$pandoc = Get-Command pandoc.exe -ea SilentlyContinue +$pandoc = Get-Command pandoc.exe -ErrorAction SilentlyContinue if ($pandoc) { - $version = (& $pandoc.Source --version | Select-String -pattern 'pandoc\.exe').Line.Split(' ')[-1] + $version = (& $pandoc.Source --version | Select-String -Pattern 'pandoc\.exe').Line.Split(' ')[-1] if ($version -ge $panDocVersion) { Write-Host "Found Pandoc version $version." $pandocExePath = $pandoc.Source @@ -55,7 +55,7 @@ if ($needPandoc) { $platyPSversion = "0.14.0" -$platyps = Get-Module -list platyps +$platyps = Get-Module -List platyps if ($platyps) { if ($platyps.Version.ToString() -ge $platyPSversion) { @@ -136,7 +136,7 @@ Get-ChildItem $VersionFolder -Directory | ForEach-Object -Process { if (Test-Path $AboutFolder) { Write-Verbose "AboutFolder = $AboutFolder" - Get-ChildItem "$aboutfolder/about_*.md" | ForEach-Object { + Get-ChildItem "$AboutFolder/about_*.md" | ForEach-Object { $aboutFileFullName = $_.FullName $aboutFileOutputName = "$($_.BaseName).help.txt" $aboutFileOutputFullName = Join-Path $MamlOutputFolder $aboutFileOutputName @@ -169,4 +169,4 @@ Get-ChildItem $VersionFolder -Directory | ForEach-Object -Process { } } -$global:ProgressPreference = $savedProgressPreference \ No newline at end of file +$global:ProgressPreference = $savedProgressPreference