Get rid of stable boolean input

This commit is contained in:
MaksimZhukov 2020-07-16 18:22:29 +03:00
parent d025544791
commit d6f2ec53d6
8 changed files with 48 additions and 30 deletions

View file

@ -15,8 +15,7 @@ const IS_WINDOWS = process.platform === 'win32';
export async function findReleaseFromManifest(
semanticVersionSpec: string,
architecture: string,
stable: boolean
architecture: string
): Promise<tc.IToolRelease | undefined> {
const manifest: tc.IToolRelease[] = await tc.getManifestFromRepo(
MANIFEST_REPO_OWNER,
@ -26,7 +25,7 @@ export async function findReleaseFromManifest(
);
return await tc.findFromManifest(
semanticVersionSpec,
stable,
false,
manifest,
architecture
);