Skip to content

refactor: improve readability #6173

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

Merged
merged 2 commits into from
Nov 27, 2024
Merged

refactor: improve readability #6173

merged 2 commits into from
Nov 27, 2024

Conversation

sazk07
Copy link
Contributor

@sazk07 sazk07 commented Nov 12, 2024

Fix typo in condition check

Fix typo in condition check
assignment was being done inside condition check leading to confusion in reading code.
@sazk07
Copy link
Contributor Author

sazk07 commented Nov 12, 2024

assignment inside condition check leading to confusion in reading code. Change proposed.

@sazk07 sazk07 changed the title Fix typo: Update index.js Fix: separate assignment and condition check in Update index.js Nov 12, 2024
@sazk07 sazk07 changed the title Fix: separate assignment and condition check in Update index.js Fix: separate assignment and condition check in index.js Nov 12, 2024
Copy link
Contributor Author

@sazk07 sazk07 left a comment

Choose a reason for hiding this comment

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

updated

@sazk07 sazk07 requested a review from wesleytodd November 13, 2024 09:59
@UlisesGascon UlisesGascon changed the title Fix: separate assignment and condition check in index.js refactor: improve readability Nov 27, 2024
@UlisesGascon UlisesGascon merged commit e4a61bd into expressjs:master Nov 27, 2024
21 checks passed
@UlisesGascon
Copy link
Member

@sazk07 do you want to backport this to v4 branch too?

@sazk07
Copy link
Contributor Author

sazk07 commented Nov 27, 2024

@sazk07 do you want to backport this to v4 branch too?

@UlisesGascon PR made in v4 branch. pls check from your end.

yash-882 pushed a commit to yash-882/express that referenced this pull request Jan 27, 2025
@bjohansebas bjohansebas mentioned this pull request Mar 15, 2025
@UlisesGascon UlisesGascon mentioned this pull request Mar 23, 2025
68 tasks
@wesleytodd wesleytodd mentioned this pull request Mar 28, 2025
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.

5 participants