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 on equality check function #1280

Merged
merged 1 commit into from Jul 13, 2021
Merged

Conversation

dvdalilue
Copy link
Contributor

This PR is just a minor refactor, I was going through the code and saw an "optimization" of an avoidable 'if' statement.

The boolean expression in the condition is enough to check the equality of the objects.

  • Unit Tests N/A
  • Documentation N/A
  • Update CHANGELOG.md N/A
  • Ready to be merged

Avoidable 'if' statement
@blikblum blikblum merged commit a41f338 into foliojs:master Jul 13, 2021
@blikblum
Copy link
Member

Manu thanks

leonho2001 added a commit to leonho2001/pdfkit that referenced this pull request Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants