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 20, 4:20 AM
Unknown Object (File)
Sat, Apr 19, 11:07 PM
Unknown Object (File)
Sat, Apr 19, 12:31 PM
Unknown Object (File)
Tue, Apr 8, 8:32 PM
Unknown Object (File)
Tue, Apr 8, 7:10 AM
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

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