diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2018-05-02 16:21:40 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-05-10 13:39:19 +0200 |
commit | b304096a14f4b266738faeaded8ea31215528ea0 (patch) | |
tree | 018595b6f5f88e6f706d3fc33324fdfcf779ac77 /node.gyp | |
parent | 4c6df73ae4e3c7ce0b2346bc38c04c6501239b02 (diff) | |
download | android-node-v8-b304096a14f4b266738faeaded8ea31215528ea0.tar.gz android-node-v8-b304096a14f4b266738faeaded8ea31215528ea0.tar.bz2 android-node-v8-b304096a14f4b266738faeaded8ea31215528ea0.zip |
assert: move AssertionError into own file
This moves the `assert` parts from `internal/errors` into an own
file. `internal/errors` got bigger and bigger and it was difficult
to keep a good overview of what was going on. While doing so it
also removes the `internalAssert` function and just lazy loads
`assert`.
PR-URL: https://github.com/nodejs/node/pull/20486
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -79,6 +79,7 @@ 'lib/v8.js', 'lib/vm.js', 'lib/zlib.js', + 'lib/internal/assert.js', 'lib/internal/async_hooks.js', 'lib/internal/buffer.js', 'lib/internal/cli_table.js', |