We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2c074a + b14dcbd commit 94538c9Copy full SHA for 94538c9
src/main/osinstaller/CxInstaller.ts
@@ -47,6 +47,11 @@ export class CxInstaller {
47
48
const architecture = this.getArchitecture();
49
50
+ const envVar = process.env.CX_CLI_LOCATION;
51
+ if (envVar !== undefined) {
52
+ return `${envVar}/ast-cli_${cliVersion}_${platformData.platform}_${architecture}.${platformData.extension}`;
53
+ }
54
+
55
return `https://download.checkmarx.com/CxOne/CLI/${cliVersion}/ast-cli_${cliVersion}_${platformData.platform}_${architecture}.${platformData.extension}`;
56
}
57
0 commit comments