diff --git a/index.js b/index.js index 9100a35..08b293d 100644 --- a/index.js +++ b/index.js @@ -86,7 +86,7 @@ async function deleteOlderReleases(keepLatest) { method: "GET", }); if (!res.ok) { - throw new Error(`Error! status: ${response.status}`); + throw new Error(`Error! status: ${res.status}`); } const { data } = await res.json(); if (data.length === 0) {