Page MenuHomePhabricator

commands: use any() instead of `if a or b or c`
ClosedPublic

Authored by pulkit on Jun 25 2020, 4:53 AM.

Details

Summary

Small cleanup for future when we have an option to show configs from shared rc.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit created this revision.Jun 25 2020, 4:53 AM

Please use a tulpe for editopts so that it is a constant by itself.

pulkit updated this revision to Diff 21743.Jul 1 2020, 6:01 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.