mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 16:46:25 +00:00
chore: simplify pep440 invalid value warning
This commit is contained in:
parent
a2a6ac94cc
commit
2719505beb
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export function getNewValue({
|
||||||
}
|
}
|
||||||
const ranges: Range[] = parseRange(currentValue);
|
const ranges: Range[] = parseRange(currentValue);
|
||||||
if (!ranges) {
|
if (!ranges) {
|
||||||
logger.warn('Invalid currentValue: ' + currentValue);
|
logger.warn({ currentValue }, 'Invalid pep440 currentValue');
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (!ranges.length) {
|
if (!ranges.length) {
|
||||||
|
|
Loading…
Reference in a new issue