Page MenuHomePhabricator

[lib] [refactor] [ENG-991] use nullish coalescing operator (?.) to simplify code
AbandonedPublicDraft

Authored by benschac on Apr 22 2022, 11:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 5, 11:04 PM
Unknown Object (File)
Wed, Dec 25, 8:04 AM
Unknown Object (File)
Sun, Dec 22, 5:49 PM
Unknown Object (File)
Nov 27 2024, 9:44 PM
Unknown Object (File)
Nov 27 2024, 5:31 PM
Unknown Object (File)
Nov 19 2024, 2:12 AM
Unknown Object (File)
Nov 13 2024, 4:39 AM
Unknown Object (File)
Nov 5 2024, 6:06 AM

Details

Summary

after moving this code to a hook, I thought this ternary code would make more sense with nullish coalescing

Test Plan

promote a thread and make sure it still works.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage