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:
parent
610f490f63
commit
becc1b362d
1 changed files with 5 additions and 5 deletions
10
src/run.ts
10
src/run.ts
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue