Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <firstname.lastname@example.org> Reviewed-By: Benjamin Gruenbaum <email@example.com> Reviewed-By: Anna Henningsen <firstname.lastname@example.org> Reviewed-By: Michaël Zasso <email@example.com>
- Loading branch information
Showing with 16 additions and 4 deletions.