Improve URLAction templating #4124
Annotations
10 errors
|
|
|
run eslint:
src/jobs/actions/urlaction.ts#L45
Replace `string,·Handlebars.TemplateDelegate<JobClass>` with `⏎····string,⏎····Handlebars.TemplateDelegate<JobClass>⏎··`
|
run eslint:
src/jobs/actions/urlaction.ts#L61
Delete `·?·`
|
run eslint:
src/jobs/actions/urlaction.ts#L62
Replace `·······` with `?`
|
run eslint:
src/jobs/actions/urlaction.ts#L63
Replace `··················Object.entries(this.headerTemplates).map(⏎····················([key,·template])·=>·[key,·template(job,·jobTemplateOptions)]` with `············Object.entries(this.headerTemplates).map(([key,·template])·=>·[⏎··············key,⏎··············template(job,·jobTemplateOptions),`
|
run eslint:
src/jobs/actions/urlaction.ts#L65
Insert `]),⏎····`
|
run eslint:
src/jobs/actions/urlaction.ts#L66
Delete `·········)`
|
run eslint:
src/jobs/actions/urlaction.ts#L67
Replace `·?·this.bodyTemplate(job,·jobTemplateOptions)` with `⏎········?·this.bodyTemplate(job,·jobTemplateOptions)⏎·······`
|
Loading