build workflow: fix bug using Resolve-Path

This commit is contained in:
stax76
2023-12-09 04:08:18 +01:00
parent dfd9abeba4
commit 34a3855941

View File

@@ -21,7 +21,7 @@ foreach ($it in $PoFiles)
{
$folder = "$ExeFolder/Locale/$($it.BaseName)/LC_MESSAGES"
CreateFolder $folder
$moPath = Resolve-Path $folder/mpvnet.mo
$moPath = Resolve-Path $folder/mpvnet.mo -ErrorAction Ignore
msgfmt --output-file=$moPath $it.FullName
if ($LASTEXITCODE -ne 0)