Skip to content

Commit

Permalink
20220920D
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoalh committed Sep 20, 2022
1 parent f49f30c commit 4c2f96d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hugoalh.GitHubActionsToolkit/module/problem-matcher.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Function Add-ProblemMatcher {
Process {
($PSCmdlet.ParameterSetName -ieq 'LiteralPath') ? $LiteralPath : (
Resolve-Path -Path $Path |
Select-Object -ExpandProperty 'Path' |
ForEach-Object -Process { Write-GitHubActionsCommand -Command 'add-matcher' -Value ($_ -ireplace '^\.[\\/]', '' -ireplace '\\', '/') }
)
Select-Object -ExpandProperty 'Path'
) |
ForEach-Object -Process { Write-GitHubActionsCommand -Command 'add-matcher' -Value ($_ -ireplace '^\.[\\/]', '' -ireplace '\\', '/') }
}
}
<#
Expand Down

0 comments on commit 4c2f96d

Please sign in to comment.