Please sign in to comment.
child_process: ignore undef/proto values of env
At present, undefined values of env option will be transferred as a "undefined" string value, and values in prototype will also be included, which are not usual behaviors. This commit prevents those to be transferred to the environment of the child process. PR-URL: #15089 Fixes: #15087 Reviewed-By: James M Snell <email@example.com> Reviewed-By: Benjamin Gruenbaum <firstname.lastname@example.org> Reviewed-By: Anna Henningsen <email@example.com> Reviewed-By: Michaël Zasso <firstname.lastname@example.org>
- Loading branch information...
Showing with 16 additions and 4 deletions.