Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
aakrem committed May 12, 2024
1 parent e13572f commit 7027c55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agenta-cli/agenta/cli/variant_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ def add_variant(
)

if variant_name in config["variants"] and not overwrite:
overwrite = questionary.confirm(
overwrite_question = questionary.confirm(
"This variant already exists. Do you want to overwrite it?"
).ask()
if not overwrite:
if not overwrite_question:
click.echo("Operation cancelled.")
sys.exit(0)

Expand Down

0 comments on commit 7027c55

Please sign in to comment.