Fix typo in get_git_version()
(#12182)
This commit is contained in:
parent
4f5e0dd325
commit
aed8bace97
@ -77,7 +77,7 @@ def get_git_version(repo_dir='.', check_dir='.'):
|
|||||||
return git_describe.stdout.strip()
|
return git_describe.stdout.strip()
|
||||||
|
|
||||||
else:
|
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)
|
print(git_describe.stderr)
|
||||||
return strftime(time_fmt)
|
return strftime(time_fmt)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user