devcontainers / devcontainers/cli
Variable substitution does not allow default values containing a colon
Open
bug
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 457
- Avg merge
- 13h 17m
- Merged PRs (30d)
- 6
Description
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`
Contributor guide
Assessment
This issue has not been assessed yet.