Undo change which broke the tests

This commit is contained in:
Simon Willison 2023-07-22 16:25:14 -07:00
commit c728c25555

View file

@ -3106,8 +3106,7 @@ def plugins_list():
click.echo(json.dumps(get_plugins(), indent=2))
if not getattr(sys, "_called_from_test", False):
pm.hook.register_commands(cli=cli)
pm.hook.register_commands(cli=cli)
def _render_common(title, values):