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}`