Skip to content

Commit

Permalink
assert: reduce internal usage of public require of util
Browse files Browse the repository at this point in the history
PR-URL: nodejs#26750
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
toshi1127 authored and targos committed Mar 27, 2019
1 parent 360bcc8 commit 3a0961b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/assert/assertion_error.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const { inspect } = require('util');
const { inspect } = require('internal/util/inspect');
const { codes: {
ERR_INVALID_ARG_TYPE
} } = require('internal/errors');
Expand Down

0 comments on commit 3a0961b

Please sign in to comment.