Fix PowerShell here-string parser error in vendor.yml

This commit is contained in:
David Refoua
2026-06-14 15:10:45 +03:30
committed by GitHub

View File

@@ -155,17 +155,10 @@ jobs:
$count = [int]$env:COUNT_UPDATED $count = [int]$env:COUNT_UPDATED
if ($count -eq 0) { if ($count -eq 0) {
$summary = @" $summary = "### ✅ No Updates Available`n`nAll vendor dependencies are up to date! 🎉`n"
### ✅ No Updates Available
All vendor dependencies are up to date! 🎉
"@
} else { } else {
$word = if ($count -eq 1) { 'dependency' } else { 'dependencies' } $word = if ($count -eq 1) { 'dependency' } else { 'dependencies' }
$summary = @" $summary = "### 🔄 Updates Found`n`n"
### 🔄 Updates Found
"@
if ($count -eq 1) { if ($count -eq 1) {
$summary += '📦 **' + $env:SINGLE_DEP_NAME + '** updated from `' + $env:SINGLE_DEP_OLD_VERSION + '` to `' + $env:SINGLE_DEP_NEW_VERSION + '`' + "`n" + "`n" $summary += '📦 **' + $env:SINGLE_DEP_NAME + '** updated from `' + $env:SINGLE_DEP_OLD_VERSION + '` to `' + $env:SINGLE_DEP_NEW_VERSION + '`' + "`n" + "`n"
} else { } else {