From 7e85efa568470e37653acf9bff2c5bad11309bba Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Thu, 9 Mar 2023 08:20:32 -0600 Subject: [PATCH] Remove redundant safe navigation operators --- src/deployment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deployment.js b/src/deployment.js index ab94229..416da72 100644 --- a/src/deployment.js +++ b/src/deployment.js @@ -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 } }