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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Constants): allow undefined size #6686

Merged
merged 2 commits into from Sep 26, 2021
Merged

Conversation

ImRodry
Copy link
Contributor

@ImRodry ImRodry commented Sep 24, 2021

Please describe the changes this PR makes and why it should be merged:
Fixes a bug accidentally introduced by #6637 where an error would be thrown when passing an undefined size (this is what happens when you only test the behavior you're looking for and not other scenarios 馃槄)

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
Contributor

@GoldenAngel2 GoldenAngel2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃憤

src/util/Constants.js Outdated Show resolved Hide resolved
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
@iCrawl iCrawl added this to the Version 13.2 milestone Sep 26, 2021
@iCrawl iCrawl merged commit d3da833 into discordjs:main Sep 26, 2021
@ImRodry ImRodry deleted the fix-no-size-bug branch September 26, 2021 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants