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)
Wed, Nov 27, 9:44 PM
Unknown Object (File)
Wed, Nov 27, 5:31 PM
Unknown Object (File)
Tue, Nov 19, 2:12 AM
Unknown Object (File)
Wed, Nov 13, 4:39 AM
Unknown Object (File)
Tue, Nov 5, 6:06 AM
Unknown Object (File)
Tue, Nov 5, 6:06 AM
Unknown Object (File)
Tue, Nov 5, 6:03 AM
Unknown Object (File)
Oct 25 2024, 7:10 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