Skip to content

Commit

Permalink
util: require isNativeError from internalBinding
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ZYSzys authored and BridgeAR committed Mar 21, 2019
1 parent 5a3623a commit 20fab5f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/internal/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ const {
arrow_message_private_symbol: kArrowMessagePrivateSymbolIndex,
decorated_private_symbol: kDecoratedPrivateSymbolIndex
} = internalBinding('util');
const {
isNativeError
} = require('internal/util/types');
const { isNativeError } = internalBinding('types');

const noCrypto = !process.versions.openssl;

Expand Down

0 comments on commit 20fab5f

Please sign in to comment.