Skip to content
Snippets Groups Projects
Unverified Commit 1580b4d8 authored by Sebastian Poxhofer's avatar Sebastian Poxhofer Committed by GitHub
Browse files

chore(workers/repository): add a log message if no version satisfies constraint (#24514)

parent f5d66733
No related branches found
No related tags found
No related merge requests found
......@@ -171,6 +171,12 @@ export async function lookupUpdates(
unconstrainedValue ||
versioning.matches(v.version, config.currentValue!)
);
if (!allSatisfyingVersions.length) {
logger.debug(
`Found no satisfying versions with '${config.versioning}' versioning`
);
}
if (config.rollbackPrs && !allSatisfyingVersions.length) {
const rollback = getRollbackUpdate(config, allVersions, versioning);
// istanbul ignore if
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment