Skip to content

Commit 23bc780

Browse files
slavaGanzinTooTallNate
authored andcommitted
fix DEBUG_MAX_ARRAY_LENGTH
1 parent 065cbfb commit 23bc780

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/node.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ exports.inspectOpts = Object.keys(process.env).filter(function (key) {
3838
var prop = key
3939
.substring(6)
4040
.toLowerCase()
41-
.replace(/_([a-z])/, function (_, k) { return k.toUpperCase() });
41+
.replace(/_([a-z])/g, function (_, k) { return k.toUpperCase() });
4242

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

0 commit comments

Comments
 (0)