Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/candy-chat/candy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gruntfile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 3663775..d8a253e 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -231,7 +231,7 @@ module.exports = function(grunt) {
'github-release': {
options: {
repository: 'candy-chat/candy',
- auth: grunt.file.readJSON('github-credentials.json'),
+ auth: grunt.file.exists('data.json') ? grunt.file.readJSON('github-credentials.json') : {},
release: {
tag_name: 'v' + grunt.file.readJSON('package.json').version,
name: 'v' + grunt.file.readJSON('package.json').version