mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-07 09:25:43 +00:00
fix: generate correct error message if Wix is not installed
Fixes #27955 Signed-off-by: Jeff MAURY <jmaury@redhat.com>
This commit is contained in:
parent
1af4caf888
commit
d04c84e783
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue