1
0
mirror of https://github.com/containers/podman.git synced 2026-02-05 06:45:31 +01:00

Merge pull request #27956 from jeffmaury/GH-27955

fix: generate correct error message if Wix is not installed
This commit is contained in:
Mario Loriedo
2026-01-27 11:48:21 +01:00
committed by GitHub

View File

@@ -112,9 +112,9 @@ if (! (Get-Command 'dotnet' -errorAction SilentlyContinue)) {
Invoke-Expression 'dotnet tool list --global wix' `
-ErrorAction SilentlyContinue | Out-Null
if ($LASTEXITCODE -ne 0) {
Write-Error "Required dep `"Wix Toolset`" is not installed. " `
Write-Error ("Required dep `"Wix Toolset`" is not installed. " `
+ 'Please install it with the command ' `
+ "`"dotnet tool install --global wix`""
+ "`"dotnet tool install --global wix`"")
Exit 1
}