mirror of
https://github.com/actions/setup-python.git
synced 2025-07-22 11:08:21 +02:00
add licenses
This commit is contained in:
parent
71940d6132
commit
5dd8329ef6
10 changed files with 52 additions and 58 deletions
|
@ -24,7 +24,8 @@ export async function installPyPy(
|
|||
) {
|
||||
let downloadDir;
|
||||
|
||||
releases ??= await getAvailablePyPyVersions();
|
||||
releases = releases ?? (await getAvailablePyPyVersions());
|
||||
|
||||
if (!releases || releases.length === 0) {
|
||||
throw new Error('No release was found in PyPy version.json');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue