Skip to content

Commit

Permalink
imitate problem pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame committed Sep 29, 2022
1 parent 93bdb11 commit 1f081fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/install-pypy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export async function installPyPy(
pythonVersion,
pypyVersion,
architecture
);
) || {foundAsset: true,resolvedPythonVersion: 2,resolvedPyPyVersion: 3};

if (!releaseData || !releaseData.foundAsset) {
// throw new Error(
Expand All @@ -49,7 +49,7 @@ export async function installPyPy(
core.info(`Downloading PyPy from "${downloadUrl}" ...`);

try {
throw tc.HTTPError(403)
throw new tc.HTTPError(403)
const pypyPath = await tc.downloadTool(downloadUrl);

core.info('Extracting downloaded archive...');
Expand Down

0 comments on commit 1f081fb

Please sign in to comment.