diff --git a/pre_commit/prefixed_command_runner.py b/pre_commit/prefixed_command_runner.py index fc4a3198..8461d19d 100644 --- a/pre_commit/prefixed_command_runner.py +++ b/pre_commit/prefixed_command_runner.py @@ -47,5 +47,6 @@ class PrefixedCommandRunner(object): def star(self, end): return tuple( - path for path in os.listdir(self.prefix_dir) if path.endswith(end) + self.path(path) + for path in os.listdir(self.prefix_dir) if path.endswith(end) )