From a2d27567927499eb4dbf2f651eeba1da11770a7d Mon Sep 17 00:00:00 2001 From: toshi1127 Date: Tue, 19 Mar 2019 03:17:04 +0900 Subject: [PATCH] assert: reduce internal usage of public require of util PR-URL: https://github.com/nodejs/node/pull/26750 Reviewed-By: Yongsheng Zhang Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell --- lib/internal/assert/assertion_error.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/assert/assertion_error.js b/lib/internal/assert/assertion_error.js index a13a610da1a7ba..0e7e8c68954726 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');