Skip to content

Commit

Permalink
Check if secrets.json exists before reading ActiveCampaign#23
Browse files Browse the repository at this point in the history
  • Loading branch information
derekrushforth committed Nov 15, 2016
1 parent b0e08d0 commit eb6170f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = function(grunt) {
common changes centralized to key files instead of being littered
throughout the Gruntfile. This also makes it easy to .gitignore secrets
================================================= */
secret: grunt.file.readJSON('secrets.json'),
secret: grunt.file.exists('secrets.json') ? grunt.file.readJSON('secrets.json') : {},
config: grunt.file.readJSON('config.json'),

/* SASS
Expand Down

0 comments on commit eb6170f

Please sign in to comment.