From 7e1959505bd22874ebbd7f5972331fa81c6c90e9 Mon Sep 17 00:00:00 2001 From: anabellabuckvar <41971124+anabellabuckvar@users.noreply.github.com> Date: Tue, 9 Apr 2024 18:08:01 -0400 Subject: [PATCH] DOP-4414 fixing conditional for amending mut prefix so that it executes --- src/job/productionJobHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/job/productionJobHandler.ts b/src/job/productionJobHandler.ts index 4de7b6a20..16c70046a 100644 --- a/src/job/productionJobHandler.ts +++ b/src/job/productionJobHandler.ts @@ -144,7 +144,7 @@ export class ProductionJobHandler extends JobHandler { const prefix = this.currJob.payload.urlSlug ? `${this.currJob.payload.prefix}/${this.currJob.payload.urlSlug}` : this.currJob.payload.prefix; - if (this.currJob.payload.newHead && this.currJob.payload.action == 'automatedTest') { + if (this.currJob.payload.action == 'automatedTest') { const titleArray = this.currJob.title.split(' '); const commitHash = titleArray[titleArray.length - 5]; return `smokeTestDeploys/${commitHash}/${prefix}`;