Skip to content

Commit 169f3f7

Browse files
ZYSzystargos
authored andcommitted
util: require isNativeError from internalBinding
PR-URL: #23081 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Weijia Wang <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 1b45704 commit 169f3f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/internal/util.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ const {
1212
arrow_message_private_symbol: kArrowMessagePrivateSymbolIndex,
1313
decorated_private_symbol: kDecoratedPrivateSymbolIndex
1414
} = internalBinding('util');
15-
const {
16-
isNativeError
17-
} = require('internal/util/types');
15+
const { isNativeError } = internalBinding('types');
1816

1917
const noCrypto = !process.versions.openssl;
2018

0 commit comments

Comments
 (0)