forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: Modified src/node_env_var.cc as per Joyee Cheung’s review comments
Below review comments are taken care in this submission: 1. followed snake case naming convention for local variables 2. dropped sizeof(char) since it is obvious value 1 3. Used MaybeLocal<String> instead of Local<String> to check for empty strings and throw exception if empty. Fixes: nodejs#27211 Refs: https://v8docs.nodesource.com/node-4.8/annotated.html
- Loading branch information
Showing
1 changed file
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters