From baf938aaae9fdca0393692e23d0976922b7d6676 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Tue, 18 Feb 2025 11:06:40 +0530 Subject: [PATCH] update debug statements --- dist/setup/index.js | 2 -- src/find-python.ts | 4 ---- 2 files changed, 6 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index dc499340..d46c09fc 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -99615,14 +99615,12 @@ function useCpythonVersion(version, architecture, updateEnvironment, checkLatest 'Scripts'); // Add the dynamically constructed path to the environment PATH variable core.addPath(userScriptsDir); - core.debug(`Updated PATH with architecture-specific path: ${userScriptsDir}`); } else { // For Python < 3.10, add the default path without architecture-specific folder as per the official installer path const userScriptsDir = path.join(process.env['APPDATA'] || '', 'Python', `Python${major}${minor}`, 'Scripts'); // Add the default path to the environment PATH variable core.addPath(userScriptsDir); - core.debug(`Updated PATH for Python < 3.10: ${userScriptsDir}`); } } // On Linux and macOS, pip will create the --user directory and add it to PATH as needed. diff --git a/src/find-python.ts b/src/find-python.ts index 3dc22527..cee7a07e 100644 --- a/src/find-python.ts +++ b/src/find-python.ts @@ -151,9 +151,6 @@ export async function useCpythonVersion( // Add the dynamically constructed path to the environment PATH variable core.addPath(userScriptsDir); - core.debug( - `Updated PATH with architecture-specific path: ${userScriptsDir}` - ); } else { // For Python < 3.10, add the default path without architecture-specific folder as per the official installer path const userScriptsDir = path.join( @@ -165,7 +162,6 @@ export async function useCpythonVersion( // Add the default path to the environment PATH variable core.addPath(userScriptsDir); - core.debug(`Updated PATH for Python < 3.10: ${userScriptsDir}`); } } // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.