Skip to content

Commit 09f2f74

Browse files
authored
fix: accept expired artifacts with documentation url (#283)
1 parent 4a559ba commit 09f2f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ async function main() {
253253
archive_format: "zip",
254254
})
255255
} catch (error) {
256-
if (error.message === "Artifact has expired") {
256+
if (error.message.startsWith("Artifact has expired")) {
257257
return setExitMessage(ifNoArtifactFound, "no downloadable artifacts found (expired)")
258258
} else {
259259
throw new Error(error.message)

0 commit comments

Comments
 (0)