Skip to content

Commit

Permalink
Add missing positional argument to get_version()
Browse files Browse the repository at this point in the history
  • Loading branch information
OLILHR committed Sep 28, 2024
1 parent 744b958 commit b1e596a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chonk/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def path_prompt(message: str, default: str, exists: bool = False) -> str:
print(f"🔴 {full_path} DOES NOT EXIST.")


def get_version(ctx, value):
def get_version(ctx, _, value):
if not value or ctx.resilient_parsing:
return
click.echo(f"chonk version {version('chonk')}")
Expand Down

0 comments on commit b1e596a

Please sign in to comment.