Fix syntax error (variable re-assignment)

This commit is contained in:
Basti 2019-04-17 09:38:00 +01:00
parent 4550a911f0
commit a0f982432e
No known key found for this signature in database
GPG Key ID: BE4634D632D39B67

View File

@ -13,7 +13,7 @@ module.exports = async function(robot, kredits) {
robot.logger.debug('[hubot-kredits] Loading GitHub integration...');
const repoBlackList = [];
let repoBlackList = [];
if (process.env.KREDITS_GITHUB_REPO_BLACKLIST) {
repoBlackList = process.env.KREDITS_GITHUB_REPO_BLACKLIST.split(',');
robot.logger.debug('[hubot-kredits] Ignoring GitHub actions from ', util.inspect(repoBlackList));