Skip to content

Commit

Permalink
make client app read configuration variables from secrets correctly ̶…
Browse files Browse the repository at this point in the history
…i̶ ̶h̶a̶t̶e̶ ̶j̶a̶v̶a̶s̶c̶r̶i̶p̶t̶ (#2414)
  • Loading branch information
Savvy Raghuvanshi authored May 20, 2021
1 parent 4c25918 commit 90e6c3e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client-applications/desktop/scripts/build-package-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},

Expand Down

0 comments on commit 90e6c3e

Please sign in to comment.