We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c211947 commit 1351d2fCopy full SHA for 1351d2f
src/node.js
@@ -231,7 +231,12 @@ function createWritableStdioStream (fd) {
231
*/
232
233
function init (debug) {
234
- debug.inspectOpts = util._extend({}, exports.inspectOpts);
+ debug.inspectOpts = {};
235
+
236
+ var keys = Object.keys(exports.inspectOpts);
237
+ for (var i = 0; i < keys.length; i++) {
238
+ debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
239
+ }
240
}
241
242
/**
0 commit comments