This commit is contained in:
levalicious committed 2024-02-06 00:55:26 -05:00
1 parent de77bf197f
commit b42fb7de0b
1 file changed
+2
+2
View File
@@ -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}`