@@ -15,7 +15,7 @@ const { |
|
|
15 |
15 |
ERR_UNKNOWN_SIGNAL |
16 |
16 |
} |
17 |
17 |
} = require('internal/errors'); |
18 |
|
-const util = require('util'); |
|
18 |
+const format = require('internal/util/inspect').format; |
19 |
19 |
const constants = internalBinding('constants').os.signals; |
20 |
20 |
|
21 |
21 |
function assert(x, msg) { |
@@ -32,7 +32,7 @@ function wrapProcessMethods(binding) { |
|
|
32 |
32 |
} = binding; |
33 |
33 |
|
34 |
34 |
function _rawDebug(...args) { |
35 |
|
-binding._rawDebug(util.format.apply(null, args)); |
|
35 |
+binding._rawDebug(format.apply(null, args)); |
36 |
36 |
} |
37 |
37 |
|
38 |
38 |
// Create the argument array that will be passed to the native function. |