Skip to content

Fix onHarvest bug

Fix onHarvest bug #186

Triggered via push March 6, 2024 13:22
Status Success
Total duration 2m 6s
Artifacts

unit_tests.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
Node v20 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L148
'plant' is already declared in the upper scope on line 148 column 9
Node v20 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L230
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
Node v20 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L253
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
Node v20 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L256
'plant' is already declared in the upper scope on line 148 column 9
Node v20 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L481
Unexpected number value in conditional. An explicit zero/NaN check is required
Node v20 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L486
Unexpected number value in conditional. An explicit zero/NaN check is required
Node v20 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L607
Unexpected number value in conditional. An explicit zero/NaN check is required
Node v20 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L617
Unexpected number value in conditional. An explicit zero/NaN check is required
Node v20 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L627
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
Node v20 - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node v18.12.0 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L148
'plant' is already declared in the upper scope on line 148 column 9
Node v18.12.0 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L230
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
Node v18.12.0 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L253
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
Node v18.12.0 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L256
'plant' is already declared in the upper scope on line 148 column 9
Node v18.12.0 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L481
Unexpected number value in conditional. An explicit zero/NaN check is required
Node v18.12.0 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L486
Unexpected number value in conditional. An explicit zero/NaN check is required
Node v18.12.0 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L607
Unexpected number value in conditional. An explicit zero/NaN check is required
Node v18.12.0 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L617
Unexpected number value in conditional. An explicit zero/NaN check is required
Node v18.12.0 - ubuntu-latest: src/tasks/minions/farmingActivity.ts#L627
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
Node v18.12.0 - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.