修复惊喜农场的bug
This commit is contained in:
@@ -30,6 +30,7 @@ if (process.env.JXNC_SHARECODES) {
|
|||||||
} else {
|
} else {
|
||||||
console.log(`由于您环境变量里面(JXNC_SHARECODES)未提供助力码,故此处运行将会给脚本内置的码进行助力,请知晓!`)
|
console.log(`由于您环境变量里面(JXNC_SHARECODES)未提供助力码,故此处运行将会给脚本内置的码进行助力,请知晓!`)
|
||||||
}
|
}
|
||||||
|
JxncShareCodes = JxncShareCodes.filter(item => !!item);
|
||||||
for (let i = 0; i < JxncShareCodes.length; i++) {
|
for (let i = 0; i < JxncShareCodes.length; i++) {
|
||||||
const index = (i + 1 === 1) ? '' : (i + 1);
|
const index = (i + 1 === 1) ? '' : (i + 1);
|
||||||
exports['JxncShareCode' + index] = JxncShareCodes[i];
|
exports['JxncShareCode' + index] = JxncShareCodes[i];
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user