Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(resolveColor): Prioritise number type check #10116

Merged
merged 3 commits into from
Feb 3, 2024

Conversation

Jiralite
Copy link
Member

@Jiralite Jiralite commented Feb 2, 2024

Please describe the changes this PR makes and why it should be merged:
It's more logical to check for a number first before doing resolvedColor < 0 || resolvedColor > 0xffffff.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

Copy link

vercel bot commented Feb 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Feb 3, 2024 9:40pm
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Feb 3, 2024 9:40pm

@kodiakhq kodiakhq bot merged commit d4472f8 into main Feb 3, 2024
7 checks passed
@kodiakhq kodiakhq bot deleted the refactor/number-priority-colour branch February 3, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants