Skip to content

refactor: remove parameter reassignment #322

refactor: remove parameter reassignment

refactor: remove parameter reassignment #322

Triggered via push January 19, 2025 17:24
Status Failure
Total duration 3m 18s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 8 warnings
Tests: packages/discord.js/src/managers/ApplicationCommandManager.js#L107
Assignment to function parameter 'guildId'.
Tests: packages/discord.js/src/managers/ApplicationCommandManager.js#L107
Assignment to function parameter 'cache'.
Tests: packages/discord.js/src/managers/ApplicationCommandManager.js#L107
Assignment to function parameter 'locale'.
Tests: packages/discord.js/src/managers/ApplicationCommandManager.js#L107
Assignment to function parameter 'withLocalizations'.
Tests
discord.js#lint: command (/home/runner/work/discord.js/discord.js/packages/discord.js) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --format=compact exited (1)
Tests
Process completed with exit code 1.
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests: packages/discord.js/src/managers/EntitlementManager.js#L67
Async method 'fetch' has no 'await' expression.
Tests: packages/discord.js/src/structures/AnnouncementChannel.js#L22
Async method 'addFollower' has no 'await' expression.
Tests: packages/discord.js/src/structures/ApplicationCommand.js#L389
Unexpected 'todo' comment: 'TODO: remove ?? 0 on each when nullable'.
Tests: packages/discord.js/src/structures/Guild.js#L1352
Async method 'disableInvites' has no 'await' expression.
Tests: packages/discord.js/src/structures/GuildScheduledEvent.js#L418
Unexpected 'todo' comment: 'TODO: scheduledEndTime gets reset on...'.
Tests: packages/discord.js/src/structures/PartialGroupDMChannel.js#L95
Async method 'fetchOwner' has no 'await' expression.
Tests: packages/discord.js/src/util/Options.js#L8
Unexpected 'todo' comment: 'TODO(ckohen): switch order of params so...'.