npm run format-check

This commit is contained in:
Aparna Jyothi 2025-02-07 18:05:59 +05:30
parent c002fb52fe
commit efb63d1885

View file

@ -140,7 +140,6 @@ export async function useCpythonVersion(
const minor = semver.minor(version); const minor = semver.minor(version);
if (major >= 3 && (major > 3 || minor >= 10)) { if (major >= 3 && (major > 3 || minor >= 10)) {
const arch = architecture === 'x64' ? '64' : '32'; const arch = architecture === 'x64' ? '64' : '32';
const userScriptsDir = path.join( const userScriptsDir = path.join(
@ -152,7 +151,9 @@ export async function useCpythonVersion(
// Add the dynamically constructed path to the environment PATH variable // Add the dynamically constructed path to the environment PATH variable
core.addPath(userScriptsDir); core.addPath(userScriptsDir);
core.debug(`Updated PATH with architecture-specific path: ${userScriptsDir}`); core.debug(
`Updated PATH with architecture-specific path: ${userScriptsDir}`
);
} else { } else {
// For Python < 3.10, add the default path without architecture-specific folder as per the official installer path // For Python < 3.10, add the default path without architecture-specific folder as per the official installer path
const userScriptsDir = path.join( const userScriptsDir = path.join(