diff options
author | toshi1127 <toshi.matsumoto.2n@stu.hosei.ac.jp> | 2019-03-18 21:17:04 +0300 |
---|---|---|
committer | ZYSzys <zyszys98@gmail.com> | 2019-03-24 13:15:23 +0300 |
commit | b2b8741a7e213e79427223503c5bf2b77687b07a (patch) | |
tree | fa4fcd563aef023fca165835c12fc03cb3ea5f45 /lib/internal/assert | |
parent | 740e7e8a9d6ef5069cc3d6bd88e2527f9df051ab (diff) |
assert: reduce internal usage of public require of util
PR-URL: https://github.com/nodejs/node/pull/26750
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/internal/assert')
-rw-r--r-- | lib/internal/assert/assertion_error.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/assert/assertion_error.js b/lib/internal/assert/assertion_error.js index 7c9bace3781..ea2a999a60e 100644 --- a/lib/internal/assert/assertion_error.js +++ b/lib/internal/assert/assertion_error.js @@ -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'); |