follow proxy settings

This commit is contained in:
eric sciple
2020-01-26 01:37:54 -05:00
parent b7821147f5
commit cf5f899a30
627 changed files with 22615 additions and 104481 deletions

View File

@ -74,13 +74,11 @@ function writeFeedToFile(
i < json.configuration.packageSources.add.length;
i++
) {
core.debug(json.configuration.packageSources.add[i]);
if (
json.configuration.packageSources.add[i]['@_value']
.toLowerCase()
.includes(feedUrl.toLowerCase())
) {
let key = json.configuration.packageSources.add[i]['@_key'];
const source = json.configuration.packageSources.add[i];
const value = source['@_value'];
core.debug(`source '${value}'`);
if (value.toLowerCase().includes(feedUrl.toLowerCase())) {
let key = source['@_key'];
sourceKeys.push(key);
core.debug(`Found a URL with key ${key}`);
}