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/package-lock.json b/package-lock.json index f2470a67..87a7c952 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.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@CheckmarxDev/ast-cli-javascript-wrapper-runtime-cli", - "version": "1.0.19", + "version": "v1.0.20-rc-resolver.1", "license": "ISC", "dependencies": { "async-mutex": "^0.5.0", diff --git a/package.json b/package.json index bd1bbbad..3be8cdd3 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.1", "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/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 = { 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);