mirror of
https://github.com/ansible/ansible.git
synced 2026-08-03 08:03:05 +02:00
ansible-test - Fix codespell test (#86419)
Prevent a traceback when test results are empty.
This commit is contained in:
@@ -84,6 +84,7 @@ def main() -> None:
|
||||
|
||||
results.append(f"{path}:{line_num}:{col_num}: {code}: {left} ==> {right}")
|
||||
|
||||
if results:
|
||||
print('\n'.join(results))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user