From b42fb7de0b86f665bad278368fa731d51484fe19 Mon Sep 17 00:00:00 2001 From: levalicious Date: Tue, 6 Feb 2024 00:55:26 -0500 Subject: [PATCH] hoiyah2 --- src/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.ts b/src/main.ts index 4cbaf4b..d38f966 100644 --- a/src/main.ts +++ b/src/main.ts @@ -24,6 +24,7 @@ async function constructRepoURL(server: string, repository: string, ref: string, const purl = new URL(server); let consurl: string = purl.protocol; + /* if (purl.password) { consurl += `:${purl.password}@`; core.info('URL came with token already!'); @@ -31,6 +32,7 @@ async function constructRepoURL(server: string, repository: string, ref: string, consurl += `:${Base64.encode(token)}@` core.info('Sad, I had to tag on the token manually'); } + */ consurl += purl.hostname; consurl += `/${repository}`