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, Apr 6, 11:10 PM
Unknown Object (File)
Sun, Apr 6, 10:53 AM
Unknown Object (File)
Fri, Apr 4, 6:15 PM
Unknown Object (File)
Thu, Apr 3, 6:49 AM
Unknown Object (File)
Thu, Apr 3, 1:16 AM
Unknown Object (File)
Thu, Apr 3, 1:16 AM
Unknown Object (File)
Mon, Mar 31, 9:12 PM
Unknown Object (File)
Sat, Mar 22, 3:58 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