devcontainers / devcontainers/cli

Variable substitution does not allow default values containing a colon

Đang mở
#883 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

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`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.