Resolves cwd problem

This commit is contained in:
Anthony Sottile
2014-03-29 23:23:43 -07:00
parent 6f0d566199
commit 216b5c6ab1
13 changed files with 212 additions and 107 deletions

View File

@@ -47,5 +47,5 @@ class Runner(object):
return os.path.join(self.git_root, '.git/hooks/pre-commit')
@cached_property
def workspace_runner(self):
return PrefixedCommandRunner(C.HOOKS_WORKSPACE)
def cmd_runner(self):
return PrefixedCommandRunner(self.hooks_workspace_path)