From 90e6c3e69c9240cb3a6eef7684e59b6be98f4f8b Mon Sep 17 00:00:00 2001 From: Savvy Raghuvanshi Date: Thu, 20 May 2021 14:04:04 -0400 Subject: [PATCH] =?UTF-8?q?make=20client=20app=20read=20configuration=20va?= =?UTF-8?q?riables=20from=20secrets=20correctly=20=20=CC=B6i=CC=B6=20?= =?UTF-8?q?=CC=B6h=CC=B6a=CC=B6t=CC=B6e=CC=B6=20=CC=B6j=CC=B6a=CC=B6v?= =?UTF-8?q?=CC=B6a=CC=B6s=CC=B6c=CC=B6r=CC=B6i=CC=B6p=CC=B6t=CC=B6=20(#241?= =?UTF-8?q?4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client-applications/desktop/scripts/build-package-helpers.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client-applications/desktop/scripts/build-package-helpers.js b/client-applications/desktop/scripts/build-package-helpers.js index 11ac182703a..f1971345317 100644 --- a/client-applications/desktop/scripts/build-package-helpers.js +++ b/client-applications/desktop/scripts/build-package-helpers.js @@ -191,10 +191,9 @@ module.exports = { // configuration with secrets we don't want to store in version control. populateSecretKeys: (keys) => { const newEnv = {} - for (const k in keys) { + keys.forEach((k) => { newEnv[k] = process.env[k] - } - + }) addEnvOverride(newEnv) },