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

Switch ternary to if statement to prevent reassigning on <structure>.update #568

Merged
merged 6 commits into from Nov 23, 2019

Conversation

Khaaz
Copy link
Contributor

@Khaaz Khaaz commented Nov 23, 2019

Clean up update methods in all structures to prevent reassigning to the same value if the updated data is undefined (value unchanged).

lib/structures/ExtendedUser.js Outdated Show resolved Hide resolved
@abalabahaha abalabahaha merged commit 3bdeb5b into abalabahaha:dev Nov 23, 2019
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

3 participants