Skip to content

Commit

Permalink
Inline extend function in node implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed May 2, 2017
1 parent c211947 commit a697a07
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,12 @@ function createWritableStdioStream (fd) {
*/

function init (debug) {
debug.inspectOpts = util._extend({}, exports.inspectOpts);
debug.inspectOpts = {};

var keys = Object.keys(exports.inspectOpts);
for (var i = 0; i < keys.length; i++) {
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
}
}

/**
Expand Down

0 comments on commit a697a07

Please sign in to comment.