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

Merge pull request #27962 from l0rd/fix-multi-line-in-ps1

Fix PowerShell `Write-Error` multi-line argument
This commit is contained in:
Paul Holzinger
2026-01-27 16:05:30 +01:00
committed by GitHub

View File

@@ -103,8 +103,8 @@ Write-Host 'Checking requirements (dotnet and wix)'
# Check if .NET SDK is installed
if (! (Get-Command 'dotnet' -errorAction SilentlyContinue)) {
Write-Error "Required dep `".NET SDK`" is not installed. " `
+ 'Please install it from https://dotnet.microsoft.com/download'
Write-Error ("Required dep `".NET SDK`" is not installed. " `
+ 'Please install it from https://dotnet.microsoft.com/download')
Exit 1
}