diff --git a/src/main/wrapper/CxWrapper.ts b/src/main/wrapper/CxWrapper.ts index f8dd4fa7..141fb5cc 100644 --- a/src/main/wrapper/CxWrapper.ts +++ b/src/main/wrapper/CxWrapper.ts @@ -30,8 +30,7 @@ export class CxWrapper { } else { logger.info("Did not receive ClientId/Secret or ApiKey from cli arguments"); } - const executablePath: string; - executablePath = cxInstaller.getExecutablePath(); + const executablePath = cxInstaller.getExecutablePath();; if (cxScanConfig.pathToExecutable) { this.config.pathToExecutable = cxScanConfig.pathToExecutable; } else if (process.platform === 'win32') {