From 877cecbedcfdf881c9d6cd5b06c37775c2e1893a Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 26 Oct 2017 14:08:19 -0700 Subject: [PATCH] config: fix env parsing. --- lib/node/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node/config.js b/lib/node/config.js index 51127aba..50acda61 100644 --- a/lib/node/config.js +++ b/lib/node/config.js @@ -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);