4
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2025-11-07 13:06:56 +00:00

Apply prettier config

This commit is contained in:
Oliver King 2022-10-26 18:57:49 -04:00 committed by GitHub
parent 610f490f63
commit becc1b362d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,11 +71,11 @@ export async function getLatestHelmVersion(): Promise<string> {
}
`
)
const latestValidRelease: string = repository.releases.nodes.find(
({ tagName, isLatest, isDraft, isPreRelease }) =>
isValidVersion(tagName) && isLatest && !isDraft && !isPreRelease
)?.tagName;
const latestValidRelease: string = repository.releases.nodes.find(
({tagName, isLatest, isDraft, isPreRelease}) =>
isValidVersion(tagName) && isLatest && !isDraft && !isPreRelease
)?.tagName
if (latestValidRelease) return latestValidRelease
} catch (err) {
core.warning(