fix(compose): remove hardcoded product name from error message

Address review feedback: drop "Podman Desktop" from the version check
failure message and remove duplicated predicate in downloadCommand
when-clause.

Signed-off-by: Simon Rey <simon.rey@outlook.com>
Co-authored-by: Claude <claude@anthropic.com>
Made-with: Cursor
Signed-off-by: Simon Rey <51708585+simonrey1@users.noreply.github.com>
This commit is contained in:
Simon Rey 2026-04-17 10:08:50 +02:00
parent 08be405a60
commit 72cf8f2e95

View file

@ -63,7 +63,7 @@
"content": [
[
{
"value": "Podman Desktop was unable to retrieve the latest Compose version. This may be caused by a GitHub API rate limit or a network issue.\n\nPlease try again later or check your network connection."
"value": "Unable to retrieve the latest Compose version. This may be caused by a GitHub API rate limit or a network issue.\n\nPlease try again later or check your network connection."
}
]
]
@ -97,7 +97,7 @@
"id": "downloadCommand",
"title": "Downloading Compose ${onboardingContext:composeDownloadVersion}",
"description": "Downloading the binary.\n\nOnce downloaded, the next step will install Compose system-wide.",
"when": "!compose.isComposeInstalledSystemWide && !compose.isPodmanComposeInstalledSystemWide && !compose.isPodmanComposeInstalledSystemWide && onboardingContext:composeIsNotDownloaded && !onboardingContext:composeVersionCheckFailed",
"when": "!compose.isComposeInstalledSystemWide && !compose.isPodmanComposeInstalledSystemWide && onboardingContext:composeIsNotDownloaded && !onboardingContext:composeVersionCheckFailed",
"command": "compose.onboarding.downloadCommand",
"completionEvents": [
"onCommand:compose.onboarding.downloadCommand"