Skip to content

Commit f1896dd

Browse files
committed
refactor
1 parent 9e55956 commit f1896dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/osinstaller/CxInstaller.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ export class CxInstaller {
4141
throw new Error('Unsupported platform or architecture');
4242
}
4343

44-
const arch = this.getArchitecture();
45-
logger.info(`Platform: ${this.platform}, Arch: ${arch}`);
44+
const architecture = this.getArchitecture();
45+
logger.info(`Platform: ${this.platform}, Arch: ${architecture}`);
4646

47-
return `https://download.checkmarx.com/CxOne/CLI/${cliVersion}/ast-cli_${cliVersion}_${platformData.platform}_${arch}.${platformData.extension}`;
47+
return `https://download.checkmarx.com/CxOne/CLI/${cliVersion}/ast-cli_${cliVersion}_${platformData.platform}_${architecture}.${platformData.extension}`;
4848
}
4949

5050
private getArchitecture(): string {

0 commit comments

Comments
 (0)