Add redirect util function for project custom actions #1951
Annotations
10 errors and 2 warnings
Run eslint:
src/server/adminJs/adminJsUtils.ts#L8
Replace `··const·refererIndex·=·request.rawHeaders.findIndex(h·=>·h.toLowerCase()·===·'referer');` with `const·refererIndex·=·request.rawHeaders.findIndex(⏎····h·=>·h.toLowerCase()·===·'referer',`
|
Run eslint:
src/server/adminJs/adminJsUtils.ts#L9
Replace `··const·referrerUrl·=` with `);⏎··const·referrerUrl·=⏎···`
|
Run eslint:
src/server/adminJs/adminJsUtils.ts#L10
Delete `····`
|
|
|
Run eslint:
src/server/adminJs/adminJsUtils.ts#L13
Delete `····`
|
|
|
Run eslint:
src/server/adminJs/adminJsUtils.ts#L16
Replace `········` with `······`
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: aws-actions/configure-aws-credentials@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading