mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix ansible-test handling of git output.
This commit is contained in:
@@ -71,7 +71,7 @@ class Git(object):
|
||||
"""
|
||||
cmd = ['show', ref]
|
||||
try:
|
||||
self.run_git(cmd)
|
||||
self.run_git(cmd, str_errors='replace')
|
||||
return True
|
||||
except SubprocessError:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user