HomePhabricator

formatter: remove now-unnecessary check for file-ness

Authored by martinvonz.

Description

formatter: remove now-unnecessary check for file-ness

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

Differential Revision: https://phab.mercurial-scm.org/D8805

Details