Skip to content

Commit

Permalink
fix DEBUG_MAX_ARRAY_LENGTH
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaGanzin authored and TooTallNate committed Feb 22, 2017
1 parent 065cbfb commit 23bc780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ exports.inspectOpts = Object.keys(process.env).filter(function (key) {
var prop = key
.substring(6)
.toLowerCase()
.replace(/_([a-z])/, function (_, k) { return k.toUpperCase() });
.replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() });

// coerce string value into JS value
var val = process.env[key];
Expand Down

0 comments on commit 23bc780

Please sign in to comment.