From 1ac88ae1029265475778f0260da8242d61e0d8b0 Mon Sep 17 00:00:00 2001 From: Yury Shkoda Date: Thu, 12 May 2022 10:04:38 +0300 Subject: [PATCH] chore: changed let to const --- src/job-execution/WebJobExecutor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/job-execution/WebJobExecutor.ts b/src/job-execution/WebJobExecutor.ts index 294f35e..b3dc130 100644 --- a/src/job-execution/WebJobExecutor.ts +++ b/src/job-execution/WebJobExecutor.ts @@ -92,7 +92,7 @@ export class WebJobExecutor extends BaseJobExecutor { if (jobUri.length > 0) { apiUrl += '&_job=' + jobUri /** - * Using both _job and _program parameters will cause a conflict in the JES web app, as it’s not clear whether or not the server should make the extra fetch for the job uri. + * Using both _job and _program parameters will cause a conflict in the JES web app, as it's not clear whether or not the server should make the extra fetch for the job uri. * To handle this, we add the extra underscore and recreate the _program variable in the SAS side of the SASjs adapter so it remains available for backend developers. */ apiUrl = apiUrl.replace('_program=', '__program=') @@ -169,7 +169,7 @@ export class WebJobExecutor extends BaseJobExecutor { ? res.result.log.map((logLine: any) => logLine.line).join('\n') : res.result.log - let resObj = res + const resObj = res if (this.serverType === ServerType.Sasjs) { if (res.result._webout < 1)