Skip to content

Commit

Permalink
Make missing .env file a silent issue
Browse files Browse the repository at this point in the history
  • Loading branch information
peblair committed Jun 6, 2016
1 parent 59d3f82 commit c0b5918
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion make-template.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
var mustache = require('mustache');
var file = require('fs');
require('dotenv').config();
// Silent suppresses "missing .env file" warning,
// which we want since deploys don't have that file
require('dotenv').config({ silent: true });

var config = process.env;

Expand Down

0 comments on commit c0b5918

Please sign in to comment.