Skip to content

Commit

Permalink
fix: Reducing Verbosity of Conditional Builds ( re #907, re #914 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Mar 6, 2024
1 parent 3c32fae commit c33f3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/PipeScript/Export-PipeScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function Export-Pipescript {
$validationPattern = [Regex]::new($commandAttribute.RegexPattern, $commandAttribute.Options, '00:00:00.1')
if (-not $validationPattern.IsMatch($ValidateAgainstString)) {
if ($env:GITHUB_STEP_SUMMARY) {
"* 🖐️ Skipping $($CommandInfo) because commit did not match ($($commandAttribute.RegexPattern))" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append
"* 🖐️ Skipping $($CommandInfo) because commit did not match" | Out-File -Path $env:GITHUB_STEP_SUMMARY -Append
}
Write-Warning "Skipping $($CommandInfo) : Did not match $($validationPattern)"
return $false
Expand Down

0 comments on commit c33f3fa

Please sign in to comment.