Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-10-07 04:27:54 +0300
committerRich Trott <rtrott@gmail.com>2018-10-09 16:39:46 +0300
commit4d58c08865d7c996bb8cfbe15793443fd425410f (patch)
treeca9d10946025ba731f561efacd26ca2cafa406d6 /lib/internal/assert.js
parent1f94b850690c2d43d9e29529409d80b372b54484 (diff)
assert: remove internal errorCache property
The internal assert module exposed an errorCache property solely for testing. It is no longer necessary. Remove it. PR-URL: https://github.com/nodejs/node/pull/23304 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'lib/internal/assert.js')
-rw-r--r--lib/internal/assert.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/internal/assert.js b/lib/internal/assert.js
index e174cddb60a..829f6663191 100644
--- a/lib/internal/assert.js
+++ b/lib/internal/assert.js
@@ -396,6 +396,5 @@ class AssertionError extends Error {
}
module.exports = {
- AssertionError,
- errorCache: new Map()
+ AssertionError
};