wing icon indicating copy to clipboard operation
wing copied to clipboard

If `--values FILE` is not provided, the `WING_VALUES_FILE` variable is not considered `nil`

Open eladb opened this issue 2 years ago • 3 comments

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.

eladb avatar Nov 17 '23 11:11 eladb

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

github-actions[bot] avatar Jan 19 '24 06:01 github-actions[bot]

Would like to work on this issue! @eladb

Galz648 avatar Dec 15 '24 14:12 Galz648

Go for it my man

eladb avatar Dec 15 '24 18:12 eladb