build(crypto-node): account for expired artifacts
This commit is contained in:
parent
e567966f67
commit
011e76c1b0
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ async function findArtifactsByHash(hash) {
|
||||||
.then((r) => r.artifacts)
|
.then((r) => r.artifacts)
|
||||||
|
|
||||||
for (const it of artifacts) {
|
for (const it of artifacts) {
|
||||||
|
if (it.expired) continue
|
||||||
const parts = it.name.split('-')
|
const parts = it.name.split('-')
|
||||||
|
|
||||||
if (parts[0] === 'prebuilt' &&
|
if (parts[0] === 'prebuilt' &&
|
||||||
|
|
Loading…
Reference in a new issue