diff --git a/lib/python/qmk/commands.py b/lib/python/qmk/commands.py index 233d1034b4..ac98376958 100644 --- a/lib/python/qmk/commands.py +++ b/lib/python/qmk/commands.py @@ -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)