Skip to content

Update to member icons, /profile fix, update to Donator role logic #246

Update to member icons, /profile fix, update to Donator role logic

Update to member icons, /profile fix, update to Donator role logic #246

Triggered via pull request November 9, 2023 05:39
Status Failure
Total duration 3m 44s
Artifacts 1

PullRequestOpenAll.yml

on: pull_request
Matrix: CodeQL
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
Lint: src/discord/commands/guild/d.levels.ts#L305
'value' is defined but never used
Lint: src/discord/commands/guild/d.levels.ts#L377
Expected indentation of 8 spaces but found 6
Lint: src/discord/commands/guild/d.levels.ts#L378
Expected indentation of 8 spaces but found 6
Lint: src/discord/commands/guild/d.levels.ts#L384
Missing trailing comma
Lint: src/discord/commands/guild/d.levels.ts#L434
Use array destructuring
Lint: src/discord/commands/guild/d.levels.ts#L440
Use array destructuring
Lint: src/discord/commands/guild/d.levels.ts#L446
Use array destructuring
Lint: src/discord/commands/guild/d.levels.ts#L452
Use array destructuring
Lint: src/discord/commands/guild/d.levels.ts#L618
'flair' is never reassigned. Use 'const' instead
Lint: src/discord/commands/guild/d.levels.ts#L618
Missing semicolon
Lint: src/api/apiV1/drugs/drugs.queries.ts#L181
Refactor this function to reduce its Cognitive Complexity from 403 to the 50 allowed
Lint: src/discord/commands/global/d.donate.ts#L31
This line has a length of 209. Maximum allowed is 120
Lint: src/discord/commands/global/d.donate.ts#L55
This line has a length of 202. Maximum allowed is 120
Lint: src/discord/commands/global/d.mushroom_info.ts#L18
This line has a length of 154. Maximum allowed is 120
Lint: src/discord/commands/global/d.mushroom_info.ts#L19
This line has a length of 331. Maximum allowed is 120
Lint: src/discord/commands/global/d.reactionRole.ts#L209
Refactor this function to reduce its Cognitive Complexity from 55 to the 50 allowed
Lint: src/discord/commands/global/d.tripsitmode.ts#L48
Refactor this function to reduce its Cognitive Complexity from 51 to the 50 allowed
Lint: src/discord/commands/guild/d.bottest.ts#L116
Refactor this function to reduce its Cognitive Complexity from 774 to the 50 allowed
Lint: src/discord/commands/guild/d.levels.ts#L215
Refactor this function to reduce its Cognitive Complexity from 129 to the 50 allowed
Lint: src/discord/commands/guild/d.moderate.ts#L123
Refactor this function to reduce its Cognitive Complexity from 89 to the 50 allowed
CodeQL (javascript)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.

Artifacts

Produced during runtime
Name Size
debug-artifacts-javascript Expired
58.7 MB