修复惊喜农场的bug

This commit is contained in:
wisz2021
2021-05-26 10:26:51 +08:00
parent ad75ff678b
commit e391a32aa1
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ if (process.env.JXNC_SHARECODES) {
} else {
console.log(`由于您环境变量里面(JXNC_SHARECODES)未提供助力码,故此处运行将会给脚本内置的码进行助力,请知晓!`)
}
JxncShareCodes = JxncShareCodes.filter(item => !!item);
for (let i = 0; i < JxncShareCodes.length; i++) {
const index = (i + 1 === 1) ? '' : (i + 1);
exports['JxncShareCode' + index] = JxncShareCodes[i];

File diff suppressed because one or more lines are too long