We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f125a4 commit 05faaa3Copy full SHA for 05faaa3
1 file changed
main.py
@@ -21,14 +21,15 @@
21
print(f'Commit message: {message}')
22
23
files = githooks.get_commit_files()
24
+ repo = githooks.get_repo()
25
print(f'Checking {githooks.get_event()} modified files:')
26
print(' ' + '\n '.join(files['M']))
27
print(f'Checking {githooks.get_event()} new files:')
28
print(' ' + '\n '.join(files['A']))
29
30
retval = 0
31
- retval += githooks.check_commit_msg(message, files['M'] + files['A'])
32
+ retval += githooks.check_commit_msg(message, files['M'] + files['A'], repo)
33
34
if githooks._is_pull_request():
35
retval += githooks.check_do_not_merge(files['M'])
0 commit comments