hook paths are only computed in install_uninstall

This commit is contained in:
Anthony Sottile 2018-07-05 12:49:01 -07:00
parent d04823e8e3
commit bffa58753d
3 changed files with 10 additions and 8 deletions

View file

@ -34,6 +34,3 @@ class Runner(object):
@cached_property
def config(self):
return load_config(self.config_file_path)
def get_hook_path(self, hook_type):
return os.path.join(git.get_git_dir(self.git_root), 'hooks', hook_type)