mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16: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) {
|
||||
return input.toLowerCase().replace(/-/g, '_');
|
||||
return input.toLowerCase().replace(/(-|\.)/g, '_');
|
||||
}
|
||||
|
||||
async function getPkgReleases(purl, config = {}) {
|
||||
|
|
Loading…
Reference in a new issue