Page MenuHomePhabricator

formatter: remove now-unnecessary check for file-ness
ClosedPublic

Authored by martinvonz on Fri, Jul 24, 2:01 AM.

Details

Summary

templater.templatepath() now returns non-None only for files, so
the caller doesn't have to check.

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.