1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-python synced 2025-06-09 04:42:20 +02:00

npm run format

This commit is contained in:
Aparna Jyothi 2025-02-19 16:43:40 +05:30
parent cb0e07d80e
commit 7349bad731
2 changed files with 4 additions and 4 deletions

View file

@ -145,13 +145,13 @@ export async function useCpythonVersion(
// Check for x32 or x86 and append the '-32' suffix
// Check for x32 or x86 and append the '-32' suffix
if (architecture === 'x32' || architecture === 'x86') {
arch = `32`; // Always add '-32' for both x32 and x86 architectures
arch = `-32`; // Always add '-32' for both x32 and x86 architectures
}
const userScriptsDir = path.join(
process.env['APPDATA'] || '',
'Python',
`Python${major}${minor}-${arch}`, // Add architecture-specific folder (e.g., Python310-64 or Python310-32)
`Python${major}${minor}${arch}`, // Add architecture-specific folder (e.g., Python310-64 or Python310-32)
'Scripts'
);