Show More
@@ -845,9 +845,7 b' class Fixer(object):' | |||
|
845 | 845 | |
|
846 | 846 | def affects(self, opts, fixctx, path): |
|
847 | 847 | """Should this fixer run on the file at the given path and context?""" |
|
848 | return self._pattern is not None and scmutil.match( | |
|
849 | fixctx, [self._pattern], opts | |
|
850 | )(path) | |
|
848 | return scmutil.match(fixctx, [self._pattern], opts)(path) | |
|
851 | 849 | |
|
852 | 850 | def shouldoutputmetadata(self): |
|
853 | 851 | """Should the stdout of this fixer start with JSON and a null byte?""" |
General Comments 0
You need to be logged in to leave comments.
Login now