diff --git a/lib/workers/repository/process/lookup/current.ts b/lib/workers/repository/process/lookup/current.ts index 9656dd0e50e30b..cd37363c50441f 100644 --- a/lib/workers/repository/process/lookup/current.ts +++ b/lib/workers/repository/process/lookup/current.ts @@ -16,6 +16,9 @@ export function getCurrentVersion( return null; } logger.trace(`currentValue ${currentValue} is range`); + if (allVersions.includes(currentValue)) { + return currentValue; + } let useVersions = allVersions.filter((v) => versioning.matches(v, currentValue), );