mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
git mv pre_commit/resources/pre-commit.sh pre_commit/resources/pre-commit-hook
This commit is contained in:
parent
39470c98ca
commit
a744a6484e
4 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ import stat
|
|||
def install(runner):
|
||||
"""Install the pre-commit hooks."""
|
||||
pre_commit_file = pkg_resources.resource_filename(
|
||||
'pre_commit', 'resources/pre-commit.sh',
|
||||
'pre_commit', 'resources/pre-commit-hook',
|
||||
)
|
||||
with open(runner.pre_commit_path, 'w') as pre_commit_file_obj:
|
||||
pre_commit_file_obj.write(open(pre_commit_file).read())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue