mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-06 20:02:47 +08:00
don't init props in fieldsForUseCommonConfig with true in boss.json
This commit is contained in:
@@ -40,11 +40,5 @@
|
||||
"sageTimeOpTimes": 100,
|
||||
"sageTimePauseMinute": 15,
|
||||
"blockCompanyNameRegExpStr": "",
|
||||
"fieldsForUseCommonConfig": {
|
||||
"city": true,
|
||||
"salary": true,
|
||||
"jobDetail": true,
|
||||
"blockCompanyNameRegExpStr": true,
|
||||
"expectCompanies": true
|
||||
}
|
||||
"fieldsForUseCommonConfig": {}
|
||||
}
|
||||
@@ -115,13 +115,6 @@ if (
|
||||
if (!bossConfig.fieldsForUseCommonConfig) {
|
||||
bossConfig.fieldsForUseCommonConfig = {}
|
||||
}
|
||||
Object.assign(bossConfig.fieldsForUseCommonConfig, {
|
||||
city: true,
|
||||
salary: true,
|
||||
jobDetail: true,
|
||||
blockCompanyNameRegExpStr: true,
|
||||
expectCompanies: true
|
||||
})
|
||||
writeConfigFile('boss.json', bossConfig, { isSync: true })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user