devcontainers / devcontainers/cli

Variable substitution does not allow default values containing a colon

Offen
#883 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
3k
Forks
457
Ø Merge
13 Std. 17 Min.
Gemergte PRs (30 T.)
6

Beschreibung

The current implementation does not support default values in localEnv or containerEnv substitution that include a colon.

Example:
```
"WEBSITE_URL": "${localEnv:WEBSITE_URL:https://example.com"
```

Current behavior: If `$WEBSITE_URL` is not present, the variable is just set to `https`

Expected behavior: If `$WEBSITE_URL` is not present, the variable should be set to `https://example.com`

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.