Skip to content

Commit 349704d

Browse files
Refactor documentation formatting in Helpers.psm1 and update comment style in main.ps1
1 parent 268af1d commit 349704d

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

scripts/Helpers.psm1

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
function Normalize-IndentationExceptFirst {
2-
[OutputType([string])]
32
<#
4-
.SYNOPSIS
5-
Normalizes the indentation of a multi-line string, except for the first line.
3+
.SYNOPSIS
4+
Normalizes the indentation of a multi-line string, except for the first line.
65
7-
.DESCRIPTION
8-
This function takes a multi-line string and normalizes the indentation of all lines except the first one.
9-
It removes the minimum leading whitespace from all subsequent lines.
6+
.DESCRIPTION
7+
This function takes a multi-line string and normalizes the indentation of all lines except the first one.
8+
It removes the minimum leading whitespace from all subsequent lines.
109
11-
.PARAMETER Code
12-
The multi-line string to normalize.
10+
.PARAMETER Code
11+
The multi-line string to normalize.
1312
14-
.OUTPUTS
15-
Returns the normalized multi-line string.
13+
.OUTPUTS
14+
Returns the normalized multi-line string.
1615
s#>
16+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseApprovedVerbs', '', Scope = 'Function', Justification = 'Function isnt exported.')]
17+
[OutputType([string])]
1718
[CmdletBinding()]
1819
param(
1920
[Parameter(Mandatory)]

scripts/main.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Requires -Modules GitHub
1+
#Requires -Modules GitHub
22

33
[CmdletBinding()]
44
param()

0 commit comments

Comments
 (0)