Fix typo in get_git_version() (#12182)

This commit is contained in:
Ryan 2021-03-10 08:36:39 +11:00 committed by GitHub
parent 4f5e0dd325
commit aed8bace97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ def get_git_version(repo_dir='.', check_dir='.'):
return git_describe.stdout.strip()
else:
cli.args.warn(f'"{" ".join(git_describe_cmd)}" returned error code {git_describe.returncode}')
cli.log.warn(f'"{" ".join(git_describe_cmd)}" returned error code {git_describe.returncode}')
print(git_describe.stderr)
return strftime(time_fmt)