This commit is contained in:
Evgenii Korolevskii 2022-09-21 15:14:01 +03:00
parent 1f2c90bb99
commit cc76dfab99
1 changed files with 6 additions and 10 deletions

View File

@ -86,11 +86,8 @@ function writeFeedToFile(
core.debug(`Found a URL with key ${key}`);
}
});
} else {
if (
packageSources['@_value']
.toLowerCase()
.includes(feedUrl.toLowerCase())
} else if (
packageSources['@_value'].toLowerCase().includes(feedUrl.toLowerCase())
) {
const key = packageSources['@_key'];
sourceKeys.push(key);
@ -98,7 +95,6 @@ function writeFeedToFile(
}
}
}
}
xml = xmlbuilder
.create('configuration')