Hide GitHub user tokens

This commit is contained in:
Thaddee Tyl 2016-06-15 23:57:45 +02:00
parent 68b105cd3e
commit ec2a35266b
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -3,8 +3,9 @@
/analytics.json
/coverage.html
/redis
/secret.json
/ServerScript
/secret.json
/.github-user-tokens.json
# Installed npm modules
node_modules

View File

@ -11,7 +11,7 @@ try {
serverSecrets = require('../secret.json');
} catch(e) {}
var githubUserTokens;
autosave('github-user-tokens.json', {data:[]}).then(function(f) {
autosave('.github-user-tokens.json', {data:[]}).then(function(f) {
githubUserTokens = f;
}).catch(function(e) { console.error('Could not create github-user-tokens.json'); });