src/job-initialiser.ts
Function init
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function init(options: IJobOptions, cb: (error?: any) => void) {
getJobs(options, (err: any, jobWorkers: IJob[]) => {
if (err) {
return cb(err);
}
- Create a ticketCreate a ticket