Skip to content

Commit

Permalink
fix: 修正一处判断错误
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckDuckStudio committed Aug 7, 2024
1 parent 739f6e0 commit ef465e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 中文git-pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def git_command(command, *args):
result = subprocess.run('git ' + git_command + ' ' + file, capture_output=True, text=True)
else:
result = subprocess.run('git ' + git_command + ' ' + ' '.join(args), capture_output=True, text=True)
elif command == "查看本地分支":
elif command == "本地分支":
if len(args) > 2:
print(f"{Fore.RED}{Fore.RESET} 多余的参数")
exit_code = 1
Expand Down
Binary file modified 中文git.exe
Binary file not shown.

0 comments on commit ef465e2

Please sign in to comment.