瀏覽代碼

Fix typo in `get_git_version()` (#12182)

Ryan 4 年之前
父節點
當前提交
aed8bace97
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/python/qmk/commands.py

+ 1 - 1
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)