This is an archive of the discontinued Mercurial Phabricator instance.

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

Authored by martinvonz on Jul 24 2020, 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.