Seems like there's no Deno.env.delete('VAR') or equivalent.
This is a relatively easy feature, and it might be good for someone who is interested in exploring how deno creates bindings. Marking it as good-first-issue.
std::env::remove_var(). Follow the example of op_set_env to create a new Op https://github.com/denoland/deno/blob/526c9196e23af34d1ecd424d09c99c7003c33844/cli/ops/os.rs#L100-L109 I'll take this one
Hi, I'm new to Deno and really want to contribute. Can I work on this one @humancalico ?
@tumile I already had a working branch but if you really want to do it go ahead. If you have any queries feel free to ask.
@tumile I already had a working branch but if you really want to do it go ahead. If you have any queries feel free to ask.
Thank you @humancalico, I just created a pull request. This is my first so inputs are very welcome.
Should this issue to be closed?
Fixed in #5859
Most helpful comment
This is a relatively easy feature, and it might be good for someone who is interested in exploring how deno creates bindings. Marking it as good-first-issue.
std::env::remove_var(). Follow the example ofop_set_envto create a new Op https://github.com/denoland/deno/blob/526c9196e23af34d1ecd424d09c99c7003c33844/cli/ops/os.rs#L100-L109https://github.com/denoland/deno/blob/v1.0.2/cli/js/ops/os.ts#L22-L24