fix: config env vars parser + heroku config file

This commit is contained in:
NGPixel
2017-05-15 00:09:44 -04:00
parent 59ce39f033
commit 8b89c2bba7
5 changed files with 25 additions and 38 deletions

View File

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