mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +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) {
|
||||
$version = $(dpkg-query -W -f '${Version}' "$pkg*")
|
||||
}
|
||||
|
||||
$version = $version -replace '~','\~'
|
||||
|
||||
$output += [PSCustomObject] @{
|
||||
Name = $pkg
|
||||
|
||||
Reference in New Issue
Block a user