mirror of
https://github.com/Azure/setup-helm.git
synced 2025-11-08 13:36:56 +00:00
Apply prettier config
This commit is contained in:
parent
610f490f63
commit
becc1b362d
1 changed files with 5 additions and 5 deletions
|
|
@ -72,9 +72,9 @@ export async function getLatestHelmVersion(): Promise<string> {
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
const latestValidRelease: string = repository.releases.nodes.find(
|
const latestValidRelease: string = repository.releases.nodes.find(
|
||||||
({ tagName, isLatest, isDraft, isPreRelease }) =>
|
({tagName, isLatest, isDraft, isPreRelease}) =>
|
||||||
isValidVersion(tagName) && isLatest && !isDraft && !isPreRelease
|
isValidVersion(tagName) && isLatest && !isDraft && !isPreRelease
|
||||||
)?.tagName;
|
)?.tagName
|
||||||
|
|
||||||
if (latestValidRelease) return latestValidRelease
|
if (latestValidRelease) return latestValidRelease
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue