This is an archive of the discontinued Mercurial Phabricator instance.

fix: remove a never-true check for unset pattern in Fixer.affects()
ClosedPublic

Authored by martinvonz on Oct 14 2019, 2:39 AM.

Details

Summary

We don't create an instance of a Fixer if the pattern is None, so we
don't need to check that in affects().

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.