diff --git a/pre_commit/prefixed_command_runner.py b/pre_commit/prefixed_command_runner.py index 6ae85099..d9a49dae 100644 --- a/pre_commit/prefixed_command_runner.py +++ b/pre_commit/prefixed_command_runner.py @@ -46,5 +46,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) )