fix: config env vars parsing
This commit is contained in:
1 parent
20ef07bef3
commit
59ce39f033
4 files changed
+6
-16
No files matched your search
@@ -12,7 +12,7 @@ module.exports = {
|
||||
parseConfigValue (cfg) {
|
||||
return _.replace(
|
||||
cfg,
|
||||
(/\$\([A-Z0-9_]+\)/g,
|
||||
(/\$\(([A-Z0-9_]+)\)/g,
|
||||
(m) => { return process.env[m] })
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user