Skip to content

Commit 3c6bf3c

Browse files
lib: remove unecessary option check
1 parent d14f030 commit 3c6bf3c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/util.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -488,9 +488,6 @@ module.exports = {
488488
'The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.',
489489
'DEP0044'),
490490
isDeepStrictEqual(a, b, options) {
491-
if (options !== undefined) {
492-
return require('internal/util/comparisons').isDeepStrictEqual(a, b, options);
493-
}
494491
if (internalDeepEqual === undefined) {
495492
internalDeepEqual = require('internal/util/comparisons').isDeepStrictEqual;
496493
}

0 commit comments

Comments
 (0)