summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2018-04-12 11:54:19 +0200
committerRuben Bridgewater <ruben@bridgewater.de>2018-04-26 19:42:55 +0200
commit2fd248f639981c72794efef397dfae5263ebdff5 (patch)
tree1197085154c2f2d1565ffa89099db66f7fc29833 /node.gyp
parente8361287030fbaa773761bb3798d45903bb160f6 (diff)
downloadandroid-node-v8-2fd248f639981c72794efef397dfae5263ebdff5.tar.gz
android-node-v8-2fd248f639981c72794efef397dfae5263ebdff5.tar.bz2
android-node-v8-2fd248f639981c72794efef397dfae5263ebdff5.zip
process: migrate methods to throw errors with code
Migrate some methods from node.cc to JS in order to properly throw errors with codes. PR-URL: https://github.com/nodejs/node/pull/19973 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 2c7eb994d2..ba65eafee9 100644
--- a/node.gyp
+++ b/node.gyp
@@ -118,6 +118,7 @@
'lib/internal/net.js',
'lib/internal/os.js',
'lib/internal/process/esm_loader.js',
+ 'lib/internal/process/methods.js',
'lib/internal/process/next_tick.js',
'lib/internal/process/promises.js',
'lib/internal/process/stdio.js',