aboutsummaryrefslogtreecommitdiff
path: root/lib/assert.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/assert.js')
-rw-r--r--lib/assert.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/assert.js b/lib/assert.js
index ccc1de3a25..35132bfb03 100644
--- a/lib/assert.js
+++ b/lib/assert.js
@@ -216,6 +216,7 @@ function innerOk(fn, argLen, value, message) {
} else if (message == null) {
// Use the call as error message if possible.
// This does not work with e.g. the repl.
+ // eslint-disable-next-line no-restricted-syntax
const err = new Error();
// Make sure the limit is set to 1. Otherwise it could fail (<= 0) or it
// does to much work.