Update index.js file

This commit is contained in:
MaksimZhukov 2020-04-29 17:43:26 +03:00
parent 9aa437bb40
commit dc9da98c5a
2 changed files with 4 additions and 2 deletions

2
dist/index.js vendored
View File

@ -3710,7 +3710,7 @@ function useCpythonVersion(version, architecture) {
core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);
let installDir = tc.find('Python', semanticVersionSpec, architecture);
if (!installDir) {
core.info(`Version ${semanticVersionSpec} is not found in local cache`);
core.info(`Version ${semanticVersionSpec} was not found in the local cache`);
const foundRelease = yield installer.findReleaseFromManifest(semanticVersionSpec, architecture);
if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {
core.info(`Version ${semanticVersionSpec} is available for downloading`);

View File

@ -83,7 +83,9 @@ async function useCpythonVersion(
architecture
);
if (!installDir) {
core.info(`Version ${semanticVersionSpec} was not found in the local cache`);
core.info(
`Version ${semanticVersionSpec} was not found in the local cache`
);
const foundRelease = await installer.findReleaseFromManifest(
semanticVersionSpec,
architecture