From 3a0961b500dd50f1494f871b9207d1846c7c374f 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');