Skip to content

Commit fbe6d30

Browse files
dnluptargos
authored andcommitted
module: remove usage of require('util')
Use `require('internal/util/debuglog').debuglog` instead of `require('util').debuglog` in `lib/internal/modules/esm/module_map.js`. Refs: #26546 PR-URL: #26805 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
1 parent 0f9a779 commit fbe6d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/modules/esm/module_map.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const ModuleJob = require('internal/modules/esm/module_job');
44
const {
55
SafeMap
66
} = primordials;
7-
const debug = require('util').debuglog('esm');
7+
const debug = require('internal/util/debuglog').debuglog('esm');
88
const { ERR_INVALID_ARG_TYPE } = require('internal/errors').codes;
99
const { validateString } = require('internal/validators');
1010

0 commit comments

Comments
 (0)