Skip to content

Commit c92b7a5

Browse files
committed
fix errors
1 parent 2011ad4 commit c92b7a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/wrapper/CxWrapper.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import * as os from "os";
88
import CxBFL from "../bfl/CxBFL";
99
import {CxInstaller} from "../osinstaller/CxInstaller";
1010
import {Semaphore} from "async-mutex";
11-
import {HttpClient} from "../client/HttpClient";
1211
import {AstClient} from "../client/AstClient";
1312

1413

@@ -20,7 +19,7 @@ export class CxWrapper {
2019
config: CxConfig;
2120
cxInstaller: CxInstaller;
2221
private constructor(cxScanConfig: CxConfig, logFilePath?: string) {
23-
this.cxInstaller = new CxInstaller(process.platform, new AstClient(new HttpClient()));
22+
this.cxInstaller = new CxInstaller(process.platform, new AstClient());
2423
this.config = new CxConfig();
2524
getLoggerWithFilePath(logFilePath)
2625
if (cxScanConfig.apiKey) {

0 commit comments

Comments
 (0)