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, Sep 10, 9:10 PM
Unknown Object (File)
Tue, Sep 10, 9:10 PM
Unknown Object (File)
Tue, Sep 10, 9:07 PM
Unknown Object (File)
Sat, Aug 31, 10:49 AM
Unknown Object (File)
Mon, Aug 26, 8:30 AM
Unknown Object (File)
Aug 8 2024, 2:29 PM
Unknown Object (File)
Aug 5 2024, 9:52 PM
Unknown Object (File)
Aug 5 2024, 9:51 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