Skip to content

Commit

Permalink
trace_events: remove usage of require('util')
Browse files Browse the repository at this point in the history
Use `require('internal/util/inspect').format` instead of
`require('util').format`.

Refs: #26546

PR-URL: #26822
Reviewed-By: Masashi Hirano <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
  • Loading branch information
dnlup authored and MylesBorins committed May 16, 2019
1 parent 09a97f2 commit 437a90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/trace_events.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (!hasTracing)

const { CategorySet, getEnabledCategories } = internalBinding('trace_events');
const { customInspectSymbol } = require('internal/util');
const { format } = require('util');
const { format } = require('internal/util/inspect');

const enabledTracingObjects = new Set();

Expand Down

0 comments on commit 437a90c

Please sign in to comment.