Skip to content

Commit c9ae53d

Browse files
committed
Update comments
1 parent 875d3d8 commit c9ae53d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Source/Private/SetModuleContent.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ function SetModuleContent {
4646
foreach($file in $SourceFile) {
4747
if($SourceName = Resolve-Path $file -Relative -ErrorAction SilentlyContinue) {
4848
Write-Verbose "Adding $SourceName"
49-
# Setting offset to -1 because of the new line we're adding,
50-
# this is needed for the code coverage calculation.
49+
# Setting offset to -1 because of the new line we're adding.
50+
# This is needed for the code coverage calculation.
5151
$SetContent.Process("#Region '$SourceName' -1`n")
5252
Get-Content $SourceName -OutVariable source | ForEach-Object { $SetContent.Process($_) }
5353
$SetContent.Process("#EndRegion '$SourceName' $($Source.Count+1)")

Source/Public/ConvertFrom-SourceLineNumber.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ function ConvertFrom-SourceLineNumber {
4747
SourceFile = $_.Matches[0].Groups["SourceFile"].Value.Trim("'")
4848
StartLineNumber = $_.LineNumber
4949
# This offset is subtracted when calculating the line number
50-
# because of the new line we're adding prior to each script file
51-
# in the built module.
50+
# because of the new line we're adding prior to the content
51+
# of each script file in the built module.
5252
Offset = $_.Matches[0].Groups["LineNumber"].Value
5353
}
5454
})

Source/Public/ConvertTo-SourceLineNumber.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ function ConvertTo-SourceLineNumber {
6060
SourceFile = $_.Matches[0].Groups["SourceFile"].Value.Trim("'")
6161
StartLineNumber = $_.LineNumber
6262
# This offset is added when calculating the line number
63-
# because of the new line we're adding prior to each script file
64-
# in the built module.
63+
# because of the new line we're adding prior to the content
64+
# of each script file in the built module.
6565
Offset = $_.Matches[0].Groups["LineNumber"].Value
6666
}
6767
})

0 commit comments

Comments
 (0)