Skip to content

Bug fix recorddate inconsistency #205

Bug fix recorddate inconsistency

Bug fix recorddate inconsistency #205

Triggered via pull request February 1, 2024 22:37
Status Failure
Total duration 2m 41s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L9
Unsafe member access .name on an `any` value
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L9
Unsafe argument of type `any` assigned to a parameter of type `String`
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L9
Unsafe member access .referenceName on an `any` value
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L10
Unsafe member access .name on an `any` value
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L10
Unsafe argument of type `any` assigned to a parameter of type `String`
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L10
Unsafe member access .referenceName on an `any` value
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L11
Unsafe member access .name on an `any` value
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L11
Unsafe argument of type `any` assigned to a parameter of type `String`
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L11
Unsafe member access .referenceName on an `any` value
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L12
Unsafe member access .name on an `any` value
setup_and_lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
setup_and_lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
setup_and_lint: backend/patches/index.ts#L41
Replace `⏎` with `,`
setup_and_lint: backend/patches/index.ts#L43
Insert `,`
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L6
Replace `········.select('name',` with `····.select('name',·`
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L8
Replace `······trx.forEach(async·entry` with `trx.forEach(async·(entry)`
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L8
Promise returned in function argument where a void return was expected
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L9
Replace `················await·updateDateTimeForEntryType('PurchaseInvoice',·entry.name,·entry.referenceName,·dm);` with `········await·updateDateTimeForEntryType(⏎··········'PurchaseInvoice',⏎··········entry.name,⏎··········entry.referenceName,⏎··········dm`
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L10
Replace `········await·updateDateTimeForEntryType('SalesInvoice',·entry.name,·entry.referenceName,·dm);` with `);⏎········await·updateDateTimeForEntryType(⏎··········'SalesInvoice',⏎··········entry.name,⏎··········entry.referenceName,⏎··········dm`
setup_and_lint: backend/patches/v0_21_0/fixLedgerDateTime.ts#L11
Replace `········await·updateDateTimeForEntryType('JournalEntry',·entry.name,·entry.referenceName,·dm);` with `);⏎········await·updateDateTimeForEntryType(⏎··········'JournalEntry',⏎··········entry.name,⏎··········entry.referenceName,⏎··········dm`