Show More
@@ -843,9 +843,7 b' class Fixer(object):' | |||
|
843 | 843 | |
|
844 | 844 | def affects(self, opts, fixctx, path): |
|
845 | 845 | """Should this fixer run on the file at the given path and context?""" |
|
846 | return self._pattern is not None and scmutil.match( | |
|
847 | fixctx, [self._pattern], opts | |
|
848 | )(path) | |
|
846 | return scmutil.match(fixctx, [self._pattern], opts)(path) | |
|
849 | 847 | |
|
850 | 848 | def shouldoutputmetadata(self): |
|
851 | 849 | """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