Przeglądaj źródła

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

Ryan 4 lat temu
rodzic
commit
aed8bace97
1 zmienionych plików z 1 dodań i 1 usunięć
  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)