Skip to content

Commit

Permalink
Merge pull request #10 from Zephyrusg/main
Browse files Browse the repository at this point in the history
fix for  • symbol
  • Loading branch information
jdhitsolutions authored Sep 19, 2022
2 parents 1bd34ed + e06ca4b commit 04c69c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/private.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Function _convert {
Process {
Try {
Write-Verbose "[$((Get-Date).TimeofDay) CONVERT] Converting to YAML"
$yml = $package.replace(" - ", " ") | Select-Object -Skip 1 | Where-Object { $_ -match "^(\s+)?(\b(\w+)\b).*:" } | ConvertFrom-Yaml -ErrorAction stop
$yml = $package.replace(" - ", " ").replace("ÔÇó", "*") | Select-Object -Skip 1 | Where-Object { $_ -match "^(\s+)?(\b(\w+)\b).*:" } | ConvertFrom-Yaml -ErrorAction stop
}
Catch {
Write-Warning "Failed to convert to YAML. $($_.exception.message)"
Expand Down

0 comments on commit 04c69c0

Please sign in to comment.