Hide GitHub user tokens
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -3,8 +3,9 @@
|
||||
/analytics.json
|
||||
/coverage.html
|
||||
/redis
|
||||
/secret.json
|
||||
/ServerScript
|
||||
/secret.json
|
||||
/.github-user-tokens.json
|
||||
|
||||
# Installed npm modules
|
||||
node_modules
|
||||
|
||||
@@ -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'); });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user