fix: config env vars parsing

[ci skip]
pull/107/head
NGPixel 8 years ago
parent 6f6d7634d5
commit bfb31c75a9

@ -12,8 +12,8 @@ module.exports = {
parseConfigValue (cfg) { parseConfigValue (cfg) {
return _.replace( return _.replace(
cfg, cfg,
(/\$\(([A-Z0-9_]+)\)/g, /\$\(([A-Z0-9_]+)\)/g,
(fm, m) => { return process.env[m] }) (fm, m) => { return process.env[m] }
) )
} }
} }

Loading…
Cancel
Save