mirror of
https://github.com/actions/deploy-pages.git
synced 2026-02-11 12:51:24 +00:00
Remove redundant safe navigation operators
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user