summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2019-02-05 20:46:35 -0800
committerRich Trott <rtrott@gmail.com>2019-02-08 00:01:07 -0800
commit64745c3ade8bad694fffba06736b461ab9a05a1d (patch)
tree1f23c20e23b5dceb97eec9cf8b9016201ce6d8e7 /node.gyp
parent7182aca108fac7a7e464e9450461975e6ef4a4e3 (diff)
downloadandroid-node-v8-64745c3ade8bad694fffba06736b461ab9a05a1d.tar.gz
android-node-v8-64745c3ade8bad694fffba06736b461ab9a05a1d.tar.bz2
android-node-v8-64745c3ade8bad694fffba06736b461ab9a05a1d.zip
assert: refactor internal assert.js
Move lib/internal/assert.js to lib/internal/assert/assertion_error.js. This is in preparation for making lib/internal/assert.js a tiny module for use in Node.js built-ins so that we can use `assert()` without having to load the entire ~1200 line `assert` module. PR-URL: https://github.com/nodejs/node/pull/25956 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index e3ff9da6b9..5596c6e491 100644
--- a/node.gyp
+++ b/node.gyp
@@ -85,7 +85,7 @@
'lib/vm.js',
'lib/worker_threads.js',
'lib/zlib.js',
- 'lib/internal/assert.js',
+ 'lib/internal/assert/assertion_error.js',
'lib/internal/async_hooks.js',
'lib/internal/buffer.js',
'lib/internal/cli_table.js',