Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove redundant safe navigation operators
  • Loading branch information
James M. Greene authored and James M. Greene committed Mar 9, 2023
1 parent df61277 commit 7e85efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deployment.js
Expand Up @@ -66,7 +66,7 @@ class Deployment {
if (deployment) {
this.deploymentInfo = {
...deployment,
id: deployment?.id || deployment?.['status_url']?.split('/')?.pop() || this.buildVersion,
id: deployment.id || deployment.status_url?.split('/')?.pop() || this.buildVersion,
pending: true
}
}
Expand Down

0 comments on commit 7e85efa

Please sign in to comment.