Skip to content

Commit

Permalink
add syntax sugar back
Browse files Browse the repository at this point in the history
  • Loading branch information
YiMysty committed Aug 5, 2022
1 parent 99f9079 commit 8daa1e0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pre/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pre/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/deployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Deployment {
}
})
core.info(JSON.stringify(data))
const artifactRawUrl = data.value.find(artifact => artifact.name === this.artifactName).url
const artifactRawUrl = data?.value?.find(artifact => artifact.name === this.artifactName)?.url
if (!artifactRawUrl) {
throw new Error('No uploaded artifact was found! Please check if there are any errors at build step, or uploaded artifact name is correct.')
}
Expand Down

0 comments on commit 8daa1e0

Please sign in to comment.