Skip to content

Commit

Permalink
馃毟 Disable sentry confirmation promp (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankpatibandla committed Feb 18, 2024
1 parent a73b3e0 commit 08c0874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pros/cli/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def callback(ctx: click.Context, param: click.Parameter, value: bool):
add_tag('no-sentry',value)
if value:
pros.common.sentry.disable_prompt()
decorator = click.option('--no-sentry', expose_value=False, is_flag=True, default=False, is_eager=True,
decorator = click.option('--no-sentry', expose_value=False, is_flag=True, default=True, is_eager=True,
help="Disable sentry reporting prompt.", callback=callback, cls=PROSOption, hidden=True)(f)
decorator.__name__ = f.__name__
return decorator
Expand Down

0 comments on commit 08c0874

Please sign in to comment.