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 {
31
31
} else {
32
32
logger . info ( "Did not receive ClientId/Secret or ApiKey from cli arguments" ) ;
33
33
}
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 ( ) ;
44
35
if ( cxScanConfig . baseUri ) {
45
36
this . config . baseUri = cxScanConfig . baseUri ;
46
37
}
You can’t perform that action at this time.
0 commit comments