Skip to content

Commit 4c2f96d

Browse files
committed
20220920D
1 parent f49f30c commit 4c2f96d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hugoalh.GitHubActionsToolkit/module/problem-matcher.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Function Add-ProblemMatcher {
2828
Process {
2929
($PSCmdlet.ParameterSetName -ieq 'LiteralPath') ? $LiteralPath : (
3030
Resolve-Path -Path $Path |
31-
Select-Object -ExpandProperty 'Path' |
32-
ForEach-Object -Process { Write-GitHubActionsCommand -Command 'add-matcher' -Value ($_ -ireplace '^\.[\\/]', '' -ireplace '\\', '/') }
33-
)
31+
Select-Object -ExpandProperty 'Path'
32+
) |
33+
ForEach-Object -Process { Write-GitHubActionsCommand -Command 'add-matcher' -Value ($_ -ireplace '^\.[\\/]', '' -ireplace '\\', '/') }
3434
}
3535
}
3636
<#

0 commit comments

Comments
 (0)