File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,20 +105,20 @@ def run_commit_check() -> int:
105105 if other_args :
106106 command = ["commit-check" ] + other_args
107107 print (" " .join (command ))
108- result = subprocess .run (
108+ other_result = subprocess .run (
109109 command , stdout = result_file , stderr = subprocess .PIPE , check = False
110110 )
111- total_rc += result .returncode
111+ total_rc += other_result .returncode
112112
113113 return total_rc
114114
115115 # Non-PR context or message disabled: run all checks at once
116116 command = ["commit-check" ] + args
117117 print (" " .join (command ))
118- result = subprocess .run (
118+ default_result = subprocess .run (
119119 command , stdout = result_file , stderr = subprocess .PIPE , check = False
120120 )
121- return result .returncode
121+ return default_result .returncode
122122
123123
124124def read_result_file () -> str | None :
You can’t perform that action at this time.
0 commit comments