Skip to content

Commit

Permalink
Merge pull request ActiveCampaign#24 from wildbit/optional-secrets-json
Browse files Browse the repository at this point in the history
Make secrets.json optional
  • Loading branch information
garrettdimon authored Nov 15, 2016
2 parents b0e08d0 + eb6170f commit 08c60a7
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 08c60a7

Please sign in to comment.