mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-16 06:46:48 +00:00
fix: escape tilde operator (#3868)
Prevents markdown to interpret it as 'strike down' style when 2 or more tilde operators appear
This commit is contained in:
@@ -353,6 +353,8 @@ function Get-AptPackages {
|
|||||||
if ($Null -eq $version) {
|
if ($Null -eq $version) {
|
||||||
$version = $(dpkg-query -W -f '${Version}' "$pkg*")
|
$version = $(dpkg-query -W -f '${Version}' "$pkg*")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$version = $version -replace '~','\~'
|
||||||
|
|
||||||
$output += [PSCustomObject] @{
|
$output += [PSCustomObject] @{
|
||||||
Name = $pkg
|
Name = $pkg
|
||||||
|
|||||||
Reference in New Issue
Block a user