From 19cd9d7d8a849cc6e0da65e58fb8c7b6a7a9cb9f Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Fri, 14 Jun 2024 18:30:54 -0400 Subject: [PATCH] Use https by default in schema store update script (#11882) --- scripts/update_schemastore.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/update_schemastore.py b/scripts/update_schemastore.py index 0c4ebcf3e9..841f97dabd 100644 --- a/scripts/update_schemastore.py +++ b/scripts/update_schemastore.py @@ -136,9 +136,9 @@ def determine_git_protocol(argv: list[str] | None = None) -> GitProtocol: ) parser.add_argument( "--proto", - required=True, choices=[proto.value for proto in GitProtocol], - help="Protocol to use for cloning git repos", + default="https", + help="Protocol to use for git authentication", ) args = parser.parse_args(argv) return GitProtocol(args.proto)