hoiyah2
This commit is contained in:
1 file changed
+2
@@ -24,6 +24,7 @@ async function constructRepoURL(server: string, repository: string, ref: string,
|
|||||||
const purl = new URL(server);
|
const purl = new URL(server);
|
||||||
|
|
||||||
let consurl: string = purl.protocol;
|
let consurl: string = purl.protocol;
|
||||||
|
/*
|
||||||
if (purl.password) {
|
if (purl.password) {
|
||||||
consurl += `:${purl.password}@`;
|
consurl += `:${purl.password}@`;
|
||||||
core.info('URL came with token already!');
|
core.info('URL came with token already!');
|
||||||
@@ -31,6 +32,7 @@ async function constructRepoURL(server: string, repository: string, ref: string,
|
|||||||
consurl += `:${Base64.encode(token)}@`
|
consurl += `:${Base64.encode(token)}@`
|
||||||
core.info('Sad, I had to tag on the token manually');
|
core.info('Sad, I had to tag on the token manually');
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
consurl += purl.hostname;
|
consurl += purl.hostname;
|
||||||
consurl += `/${repository}`
|
consurl += `/${repository}`
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user