File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,7 @@ export class CxWrapper {
3131 } else {
3232 logger . info ( "Did not receive ClientId/Secret or ApiKey from cli arguments" ) ;
3333 }
34- const executablePath = cxInstaller . getExecutablePath ( ) ;
35- if ( cxScanConfig . pathToExecutable ) {
36- this . config . pathToExecutable = cxScanConfig . pathToExecutable ;
37- } else if ( process . platform === 'win32' ) {
38- this . config . pathToExecutable = executablePath ;
39- } else if ( process . platform === 'darwin' ) {
40- this . config . pathToExecutable = executablePath ;
41- } else {
42- this . config . pathToExecutable = executablePath ;
43- }
34+ this . config . pathToExecutable = cxInstaller . getExecutablePath ( ) ;
4435 if ( cxScanConfig . baseUri ) {
4536 this . config . baseUri = cxScanConfig . baseUri ;
4637 }
You can’t perform that action at this time.
0 commit comments