Always load dotenv

This commit is contained in:
Brandon Keepers 2017-03-11 09:15:25 -06:00
parent 966ee288ca
commit f1511fcc17
No known key found for this signature in database
GPG Key ID: F9533396D5FACBF6
2 changed files with 3 additions and 3 deletions

View File

@ -6,3 +6,5 @@ notifications:
disabled: true
env:
- PRIVATE_KEY=ssssshhh
- INTEGRATION_ID=1
- WEBHOOK_SECRET=test

View File

@ -1,6 +1,4 @@
if(process.env.NODE_ENV != 'production') {
require('dotenv-safe').load();
}
require('dotenv-safe').load();
const fs = require('fs');
const createWebhook = require('github-webhook-handler');