chore: simplify pep440 invalid value warning

This commit is contained in:
Rhys Arkins 2021-05-15 08:42:26 +02:00
parent a2a6ac94cc
commit 2719505beb

View file

@ -50,7 +50,7 @@ export function getNewValue({
}
const ranges: Range[] = parseRange(currentValue);
if (!ranges) {
logger.warn('Invalid currentValue: ' + currentValue);
logger.warn({ currentValue }, 'Invalid pep440 currentValue');
return null;
}
if (!ranges.length) {