diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-04-19 10:45:25 +0200 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2018-04-22 11:39:16 +0200 |
commit | f31fc9398d1da30aa219968caaac5bd4ca56e6f2 (patch) | |
tree | 84fe5d9f8bb1a51876d27305ac9392d392c45f9d | |
parent | 3cb8e64e85c4b50c1154994374e13cb34adc9dd5 (diff) | |
download | android-node-v8-f31fc9398d1da30aa219968caaac5bd4ca56e6f2.tar.gz android-node-v8-f31fc9398d1da30aa219968caaac5bd4ca56e6f2.tar.bz2 android-node-v8-f31fc9398d1da30aa219968caaac5bd4ca56e6f2.zip |
lib: remove unnecessary assignment of exports
This commit removes the assignment of exports since it is not used
in these files and there is no harm re-assigning module.exports.
PR-URL: https://github.com/nodejs/node/pull/20143
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jackson Tian <shyvo1987@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
-rw-r--r-- | lib/internal/errors.js | 2 | ||||
-rw-r--r-- | lib/os.js | 2 | ||||
-rw-r--r-- | lib/v8.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/internal/errors.js b/lib/internal/errors.js index 88c7f86eb9..09f58506c4 100644 --- a/lib/internal/errors.js +++ b/lib/internal/errors.js @@ -687,7 +687,7 @@ function isStackOverflowError(err) { err.message === maxStack_ErrorMessage; } -module.exports = exports = { +module.exports = { dnsException, errnoException, exceptionWithHostPort, @@ -159,7 +159,7 @@ function networkInterfaces() { }, {}); } -module.exports = exports = { +module.exports = { arch, cpus, endianness, @@ -213,7 +213,7 @@ function deserialize(buffer) { return der.readValue(); } -module.exports = exports = { +module.exports = { cachedDataVersionTag, getHeapStatistics, getHeapSpaceStatistics, |