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: refactor RealEnvStore methods - review comments fixing - 1
Below review comments by Anna Henningsen are taken care: 1. avoided Yoda style comparisons 2. used MaybeStackBuffer instead of raw char pointers 3. used MaybeLocal<String> to inspect for empty string value and then raise exception and return empty Local<String> handle. (Changing return type of RealEnvStore::Get method to MaybeLocal<String> is pending, and planning to submit in next commit) Fixes: nodejs#27211 Refs: nodejs#27310 (comment)
- Loading branch information
Showing
1 changed file
with
18 additions
and
27 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