Skip to content

Commit

Permalink
main: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidd6 committed Aug 15, 2020
1 parent 7bd5e58 commit 612da30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ async function main() {

// One artifact or all if `name` input is not specified.
if (name) {
artifacts = artifacts.data.artifacts.find((artifact) => {
artifacts = artifacts.data.artifacts.filter((artifact) => {
return artifact.name == name
})
} else {
artifacts = allArtifacts.data.artifacts
artifacts = artifacts.data.artifacts
}

for (const artifact of artifacts) {
Expand Down

0 comments on commit 612da30

Please sign in to comment.