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)
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)
Fri, Oct 25, 7:10 AM
Unknown Object (File)
Fri, Oct 25, 7:10 AM
Unknown Object (File)
Sep 27 2024, 12:54 AM
Unknown Object (File)
Sep 26 2024, 6:21 PM
Unknown Object (File)
Sep 23 2024, 1:02 PM

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