From dc9da98c5a9c9898d6aefeeb2eca1fdf8b1f25c2 Mon Sep 17 00:00:00 2001 From: MaksimZhukov Date: Wed, 29 Apr 2020 17:43:26 +0300 Subject: [PATCH] Update index.js file --- dist/index.js | 2 +- src/find-python.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index a4872dc4..0d2d3fcd 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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`); diff --git a/src/find-python.ts b/src/find-python.ts index 927b8dba..db06230d 100644 --- a/src/find-python.ts +++ b/src/find-python.ts @@ -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