migrate cookie length condition out to shell from core

This commit is contained in:
bossgeekgo
2024-02-12 10:38:35 +08:00
parent 978b6d2105
commit 8c0257e93a
2 changed files with 5 additions and 6 deletions
@@ -20,11 +20,6 @@ const { cookies: bossCookies } = readConfigFile('boss.json')
const targetCompanyList = readConfigFile('target-company-list.json')
if (!bossCookies?.length) {
console.error('There is no cookies. you can save a copy with EditThisCookie extension.')
process.exit(1)
}
const recommendJobPageUrl = `https://www.zhipin.com/web/geek/job-recommend`
const expectCompanySet = new Set(targetCompanyList)