From 11c9de6408a035ffeb7dfb631efbe3ec5c0ee769 Mon Sep 17 00:00:00 2001 From: Brian Cristante Date: Fri, 27 Dec 2019 11:25:11 -0500 Subject: [PATCH] Update terminology in comments --- src/find-python.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/find-python.ts b/src/find-python.ts index 2721ba3..a36d568 100644 --- a/src/find-python.ts +++ b/src/find-python.ts @@ -57,7 +57,7 @@ function usePyPy(majorVersion: 2 | 3, architecture: string): void { if (!installDir && IS_WINDOWS) { // PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64. - // On Hosted VS2017, we only install an x86 version. + // On our Windows virtual environments, we only install an x86 version. // Fall back to x86. installDir = findPyPy('x86'); } @@ -120,7 +120,7 @@ async function useCpythonVersion( if (IS_WINDOWS) { // Add --user directory - // `installDir` from tool cache should look like $AGENT_TOOLSDIRECTORY/Python//x64/ + // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/ // So if `findLocalTool` succeeded above, we must have a conformant `installDir` const version = path.basename(path.dirname(installDir)); const major = semver.major(version);