summaryrefslogtreecommitdiff
path: root/doc/api/vm.md
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2018-05-07 14:06:56 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-05-09 10:15:06 +0200
commit590769bb96a9012e85b06569952743abb8fe68ad (patch)
tree30bee25359c643b934b57eaa1d82a1f31a5d777c /doc/api/vm.md
parent36793b8c650e80ad6f35728d586eda7637703466 (diff)
downloadandroid-node-v8-590769bb96a9012e85b06569952743abb8fe68ad.tar.gz
android-node-v8-590769bb96a9012e85b06569952743abb8fe68ad.tar.bz2
android-node-v8-590769bb96a9012e85b06569952743abb8fe68ad.zip
src: don't create Undefined if not needed
This commit moves the creation of argv and only creates an undefined value if the passed in status was not 0. The variable name client_handle was already used in this function but I've change that usage so that this variable name matches the onconnection callback functions parameter name clientHandle. PR-URL: https://github.com/nodejs/node/pull/20573 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'doc/api/vm.md')
0 files changed, 0 insertions, 0 deletions