Created
June 7, 2016 11:23
-
-
Save apaleslimghost/60c31415205e7d9c822ba2816f8d4139 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = () => Object.keys(process.env).filter(key => key.match(/^HEROKU/)).reduce((obj, key) => { | |
obj[key] = process.env[key]; | |
return obj; | |
}, {}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment