Skip to content

Commit

Permalink
fix: accept expired artifacts with documentation url (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc authored Mar 18, 2024
1 parent 4a559ba commit 09f2f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ async function main() {
archive_format: "zip",
})
} catch (error) {
if (error.message === "Artifact has expired") {
if (error.message.startsWith("Artifact has expired")) {
return setExitMessage(ifNoArtifactFound, "no downloadable artifacts found (expired)")
} else {
throw new Error(error.message)
Expand Down

0 comments on commit 09f2f74

Please sign in to comment.