mirror of
https://github.com/actions/setup-python.git
synced 2025-06-28 05:33:47 +00:00
Add and configure ESLint and update configuration for Prettier (#617)
* Add ESLint, update Prettier * Update docs * Update tests * Update licenses * Fix review points
This commit is contained in:
parent
7b9ef6fc5a
commit
ec365b4eba
36 changed files with 3733 additions and 505 deletions
|
@ -63,7 +63,7 @@ export async function installPyPy(
|
|||
}
|
||||
|
||||
const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;
|
||||
let downloadUrl = `${foundAsset.download_url}`;
|
||||
const downloadUrl = `${foundAsset.download_url}`;
|
||||
|
||||
core.info(`Downloading PyPy from "${downloadUrl}" ...`);
|
||||
|
||||
|
@ -143,7 +143,7 @@ async function createPyPySymlink(
|
|||
const pythonMinor = semver.minor(version);
|
||||
const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';
|
||||
const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;
|
||||
let binaryExtension = IS_WINDOWS ? '.exe' : '';
|
||||
const binaryExtension = IS_WINDOWS ? '.exe' : '';
|
||||
|
||||
core.info('Creating symlinks...');
|
||||
createSymlinkInFolder(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue