-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementThe issue is an enhancement request.The issue is an enhancement request.good first issueThe issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHubThe issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHubhelp wantedThe issue is up for grabs for anyone in the community.The issue is up for grabs for anyone in the community.
Description
Suggest making a helper function for this section as is is duplicated three times in this function.
DscResource.DocGenerator/source/Public/New-DscResourcePowerShellHelp.ps1
Lines 303 to 306 in d8714de
| $synopsis = $synopsis -replace '[\r|\n]+$' # Removes all blank rows at the end | |
| $synopsis = $synopsis -replace '\r?\n', "`r`n" # Normalize to CRLF | |
| $synopsis = $synopsis -replace '\r\n', "`r`n " # Indent all rows | |
| $synopsis = $synopsis -replace '[ ]+\r\n', "`r`n" # Remove indentation from blank rows |
Metadata
Metadata
Assignees
Labels
enhancementThe issue is an enhancement request.The issue is an enhancement request.good first issueThe issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHubThe issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHubhelp wantedThe issue is up for grabs for anyone in the community.The issue is up for grabs for anyone in the community.