config: fix env parsing.
This commit is contained in:
parent
cc91e3ea7b
commit
877cecbedc
@ -956,7 +956,7 @@ Config.prototype.parseEnv = function parseEnv(env) {
|
|||||||
|
|
||||||
assert(typeof value === 'string');
|
assert(typeof value === 'string');
|
||||||
|
|
||||||
if (key.indexOf(prefix) === 0)
|
if (key.indexOf(prefix) !== 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
key = key.substring(prefix.length);
|
key = key.substring(prefix.length);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user