apply prettier

This commit is contained in:
panticmilos 2022-05-04 14:13:40 +02:00
parent abfc09feda
commit 9d28777916
2 changed files with 34 additions and 29 deletions

View file

@ -374,7 +374,11 @@ async function queryDistForMatch(
let versions: string[] = [];
let nodeVersions = await installer.getVersionsFromDist();
if (versionSpec === 'current' || versionSpec === 'latest' || versionSpec === 'node') {
if (
versionSpec === 'current' ||
versionSpec === 'latest' ||
versionSpec === 'node'
) {
core.info(`getting latest node version...`);
return nodeVersions[0].version;
}