From 509e28d5b023143fca8345b405c3b806d997e8ae Mon Sep 17 00:00:00 2001 From: elchananarb <110327842+cx-elchanan-arbiv@users.noreply.github.com> Date: Wed, 28 May 2025 17:03:21 +0300 Subject: [PATCH 1/3] cli-resolver --- checkmarx-ast-cli.version | 2 +- src/main/osinstaller/CxInstaller.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/checkmarx-ast-cli.version b/checkmarx-ast-cli.version index 3b31fa0c..87bcb4f3 100644 --- a/checkmarx-ast-cli.version +++ b/checkmarx-ast-cli.version @@ -1 +1 @@ -2.3.21 +2.3.21-test-resolver \ No newline at end of file diff --git a/src/main/osinstaller/CxInstaller.ts b/src/main/osinstaller/CxInstaller.ts index b7c65449..63694ba7 100644 --- a/src/main/osinstaller/CxInstaller.ts +++ b/src/main/osinstaller/CxInstaller.ts @@ -22,7 +22,7 @@ export class CxInstaller { private cliVersion: string; private readonly resourceDirPath: string; private readonly installedCLIVersionFileName = 'cli-version'; - private readonly cliDefaultVersion = '2.3.21'; // Update this with the latest version. + private readonly cliDefaultVersion = '2.3.21-test-resolver'; // Update this with the latest version. private readonly client: AstClient; private static readonly PLATFORMS: Record = { From 768ebd2308acb9bd5217b60fb77948862f320623 Mon Sep 17 00:00:00 2001 From: elchananarb <110327842+cx-elchanan-arbiv@users.noreply.github.com> Date: Thu, 29 May 2025 11:07:33 +0300 Subject: [PATCH 2/3] update cli --- package-lock.json | 4 ++-- package.json | 2 +- src/main/wrapper/CxWrapper.ts | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f2470a67..7e111ed3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@CheckmarxDev/ast-cli-javascript-wrapper-runtime-cli", - "version": "1.0.19", + "version": "v1.0.20-rc-resolver.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@CheckmarxDev/ast-cli-javascript-wrapper-runtime-cli", - "version": "1.0.19", + "version": "v1.0.20-rc-resolver.0", "license": "ISC", "dependencies": { "async-mutex": "^0.5.0", diff --git a/package.json b/package.json index bd1bbbad..60150761 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@CheckmarxDev/ast-cli-javascript-wrapper-runtime-cli", - "version": "1.0.19", + "version": "v1.0.20-rc-resolver.0", "description": "AST CLI Javascript wrapper runtime CLI", "main": "dist/main/wrapper/CxWrapper.js", "typings": "dist/main/wrapper/CxWrapper.d.ts", diff --git a/src/main/wrapper/CxWrapper.ts b/src/main/wrapper/CxWrapper.ts index d8b77df2..8b0287f8 100644 --- a/src/main/wrapper/CxWrapper.ts +++ b/src/main/wrapper/CxWrapper.ts @@ -416,6 +416,8 @@ export class CxWrapper { const paramList = additionalParameters.match(/(?:[^\s"]+|"[^"]*")+/g); logger.info("Additional parameters refined: " + paramList) + logger.info("!!!!!!!!!!!!!!!!!!!!xxxxxxxxxxxx") + if (paramList) { paramList.forEach((element) => { params.push(element); From 4004c1d83121ef43729b9b57a77032eddfaa1227 Mon Sep 17 00:00:00 2001 From: elchananarb <110327842+cx-elchanan-arbiv@users.noreply.github.com> Date: Thu, 29 May 2025 12:30:34 +0300 Subject: [PATCH 3/3] update json --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7e111ed3..87a7c952 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@CheckmarxDev/ast-cli-javascript-wrapper-runtime-cli", - "version": "v1.0.20-rc-resolver.0", + "version": "v1.0.20-rc-resolver.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@CheckmarxDev/ast-cli-javascript-wrapper-runtime-cli", - "version": "v1.0.20-rc-resolver.0", + "version": "v1.0.20-rc-resolver.1", "license": "ISC", "dependencies": { "async-mutex": "^0.5.0", diff --git a/package.json b/package.json index 60150761..3be8cdd3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@CheckmarxDev/ast-cli-javascript-wrapper-runtime-cli", - "version": "v1.0.20-rc-resolver.0", + "version": "v1.0.20-rc-resolver.1", "description": "AST CLI Javascript wrapper runtime CLI", "main": "dist/main/wrapper/CxWrapper.js", "typings": "dist/main/wrapper/CxWrapper.d.ts",