Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Bruno Borges 2026-07-08 12:47:35 -04:00 committed by GitHub
parent 1de901a1ef
commit b5c4ab65ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,10 +179,12 @@ export function getVersionFromFileContent(
if (versionFileName == '.tool-versions' && match?.groups?.distribution) {
const asdfDist = match.groups.distribution;
extractedDistribution = mapAsdfDistribution(asdfDist);
if (extractedDistribution) {
core.debug(
`Parsed distribution '${extractedDistribution}' from asdf identifier '${asdfDist}'`
);
}
}
core.debug(
`Parsed version '${capturedVersion}' from file '${versionFileName}'`