Skip to content

replace 1 ternary operator with nullish coalescing operator#2323

Merged
adrai merged 1 commit intoi18next:masterfrom
DOROMOLLL:optimize-replace-with-null-coalescing-operator
Jul 25, 2025
Merged

replace 1 ternary operator with nullish coalescing operator#2323
adrai merged 1 commit intoi18next:masterfrom
DOROMOLLL:optimize-replace-with-null-coalescing-operator

Conversation

@DOROMOLLL
Copy link
Contributor

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • run tests npm run test
  • tests are included
  • commit message and code follows the Developer's Certification of Origin

Checklist (for documentation change)

  • only relevant documentation part is changed (make a diff before you submit the PR)
  • motivation/reason is provided
  • commit message and code follows the Developer's Certification of Origin

@adrai
Copy link
Member

adrai commented Jul 25, 2025

Is there any issue related to this change or is this just cosmetics?

@DOROMOLLL
Copy link
Contributor Author

Is there any issue related to this change or is this just cosmetics?

No issue related just to make the code looks cleaner

@adrai
Copy link
Member

adrai commented Jul 25, 2025

Will merge, but not release yet

@adrai adrai merged commit 8a4fd52 into i18next:master Jul 25, 2025
5 checks passed
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.

2 participants