From d01205d5fe6a9bc803d21086e4845d007601b147 Mon Sep 17 00:00:00 2001 From: Corey Christous Date: Wed, 21 Sep 2022 14:10:11 -0400 Subject: [PATCH] allow overriding SEMAPHORE_AGENT_STACK_CONFIG values with env vars --- lib/argument-store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/argument-store.js b/lib/argument-store.js index bce0f57..232a7e6 100644 --- a/lib/argument-store.js +++ b/lib/argument-store.js @@ -48,7 +48,7 @@ class ArgumentStore { console.log(`==> Using config file at ${configFilePath} ...`); const config = JSON.parse(fs.readFileSync(configFilePath, { encoding: 'utf-8' })) - return ArgumentStore.fromMap(config); + return ArgumentStore.fromMap(Object.assign({}, config, process.env)); } static fromMap(params) {