winglang/wing
在 GitHub 查看If `--values FILE` is not provided, the `WING_VALUES_FILE` variable is not considered `nil`
Open
#4,982 建立於 2023年11月17日
good first issue⌨️ cli🐛 bug
倉庫指標
- Star
- (5,385 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
I tried this:
bring util;
if let x = util.tryEnv("WING_VALUES_FILE") {
log(x);
}
This happened:
Prints undefined
I expected this:
Not to print anything if there I didn't specify a values file.
Is there a workaround?
No response
Anything else?
No response
Wing Version
No response
Node.js Version
No response
Platform(s)
No response
Community Notes
- Please vote by adding a 👍 reaction to the issue to help us prioritize.
- If you are interested to work on this issue, please leave a comment.