jw.pkg.cmds.projects.CmdListRepos: Remove test code

Remove --insecure from curl invocation on janware.test.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-01-28 12:16:38 +01:00
commit 53601c8abd

View file

@ -62,8 +62,6 @@ class CmdListRepos(Cmd): # export
if re.match(r'https://', args.base_url):
# assume Forgejo Backend
curl_args = ['-f']
if re.match(r'https://janware.test', args.base_url):
curl_args.append('--insecure')
if password is not None:
assert username is not None
cmd_input = (f'-u {username}:{password}').encode('utf-8')