config: fix env parsing.

This commit is contained in:
Christopher Jeffrey 2017-10-26 14:08:19 -07:00
parent cc91e3ea7b
commit 877cecbedc
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -956,7 +956,7 @@ Config.prototype.parseEnv = function parseEnv(env) {
assert(typeof value === 'string');
if (key.indexOf(prefix) === 0)
if (key.indexOf(prefix) !== 0)
continue;
key = key.substring(prefix.length);