From 0e2bcbe9ddc49a451fa8df5788f228561e2952ae Mon Sep 17 00:00:00 2001 From: Matt Meigs Date: Tue, 17 Oct 2023 15:48:56 -0400 Subject: [PATCH] changed path --- src/job/jobHandler.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/job/jobHandler.ts b/src/job/jobHandler.ts index c61f70c41..165d1589f 100644 --- a/src/job/jobHandler.ts +++ b/src/job/jobHandler.ts @@ -282,13 +282,10 @@ export abstract class JobHandler { // call this method when we want benchmarks and uses cwd option to call command outside of a one liner. private async callWithBenchmark(command: string, stage: string): Promise { const start = performance.now(); - const pathToRepo = getDirectory(this.currJob); + const pathToRepo = `repos/${getDirectory(this.currJob)}`; const resp = await this._commandExecutor.execute([command], pathToRepo); - await this._logger.save( - this.currJob._id, - `${'(COMMAND)'.padEnd(15)} ${command} run details in ${getDirectory(this.currJob)}` - ); + await this._logger.save(this.currJob._id, `${'(COMMAND)'.padEnd(15)} ${command} run details in ${pathToRepo}`); const end = performance.now(); const update = { [`${stage}StartTime`]: start,