Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/internal/process/per_thread.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const {
ERR_UNKNOWN_SIGNAL
}
} = require('internal/errors');
const util = require('util');
const format = require('internal/util/inspect').format;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const format = require('internal/util/inspect').format;
const { format } = require('internal/util/inspect');

const constants = internalBinding('constants').os.signals;

function assert(x, msg) {
Expand All @@ -32,7 +32,7 @@ function wrapProcessMethods(binding) {
} = binding;

function _rawDebug(...args) {
binding._rawDebug(util.format.apply(null, args));
binding._rawDebug(format.apply(null, args));
}

// Create the argument array that will be passed to the native function.
Expand Down