diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2020-06-02 12:12:38 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2020-06-05 06:58:49 +0300 |
commit | 3e2a3007107b7a100794f4e4adbde19263fc7464 (patch) | |
tree | 5b91ea11a0f8db004cce85c1933aa9c44c7dd09b /node.gyp | |
parent | 7232c2a1604d241ce0455d919ba9b0b8e9959f81 (diff) |
src: use ToLocal in SafeGetenv
This commit replaces the IsEmpty call to use ToLocal instead which
allows for the following ToLocalChecked function call to be avoided.
PR-URL: https://github.com/nodejs/node/pull/33695
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Diffstat (limited to 'node.gyp')
0 files changed, 0 insertions, 0 deletions