mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
fix(pypi): better normalize package name
This commit is contained in:
parent
d822d4491b
commit
b08d1aa815
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module.exports = {
|
||||||
};
|
};
|
||||||
|
|
||||||
function normalizeName(input) {
|
function normalizeName(input) {
|
||||||
return input.toLowerCase().replace(/-/g, '_');
|
return input.toLowerCase().replace(/(-|\.)/g, '_');
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getPkgReleases(purl, config = {}) {
|
async function getPkgReleases(purl, config = {}) {
|
||||||
|
|
Loading…
Reference in a new issue