diff --git a/checkmarx-ast-cli.version b/checkmarx-ast-cli.version index f1e5f744..af6c3247 100644 --- a/checkmarx-ast-cli.version +++ b/checkmarx-ast-cli.version @@ -1 +1 @@ -2.3.36 +2.3.37 diff --git a/src/main/osinstaller/CxInstaller.ts b/src/main/osinstaller/CxInstaller.ts index 69ed2863..32137efc 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.36'; // Update this with the latest version. + private readonly cliDefaultVersion = '2.3.37'; // Update this with the latest version. private readonly client: AstClient; private static readonly PLATFORMS: Record = { diff --git a/src/tests/LearnMoreDescriptions.test.ts b/src/tests/LearnMoreDescriptions.test.ts index b6d2c23c..7429a5e3 100644 --- a/src/tests/LearnMoreDescriptions.test.ts +++ b/src/tests/LearnMoreDescriptions.test.ts @@ -18,6 +18,6 @@ describe("LearnMoreDescriptions cases",() => { const auth = await cxWrapperFactory.createWrapper(cxScanConfig); const data = await auth.learnMore("") const cxCommandOutput: CxCommandOutput = data; - expect(cxCommandOutput.status.trim()).toBe("Value of query-id is invalid"); + expect(cxCommandOutput.status).toBe("Value of query-id is invalid\n"); }) })