From 34a385594170d70c458eac4e9886939f0948709e Mon Sep 17 00:00:00 2001 From: stax76 Date: Sat, 9 Dec 2023 04:08:18 +0100 Subject: [PATCH] build workflow: fix bug using Resolve-Path --- lang/create-mo-files.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/create-mo-files.ps1 b/lang/create-mo-files.ps1 index ab132df..8dec4ed 100644 --- a/lang/create-mo-files.ps1 +++ b/lang/create-mo-files.ps1 @@ -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)