Skip to content

Commit 2388883

Browse files
committed
delete unecessery clone
1 parent 4bf063b commit 2388883

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/main/osinstaller/CxInstaller.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ export class CxInstaller {
102102
writer.close();
103103
}
104104
}
105-
106-
private checkExecutableExists(): boolean {
107-
return fs.existsSync(this.getExecutablePath());
108-
}
109105

110106
private async readASTCLIVersion(): Promise<string> {
111107
if (this.cliVersion) {

src/tests/AuthTest.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ describe("Authentication validation", () => {
1919
cxScanConfig_fail.tenant = process.env["CX_TENANT"];
2020
cxScanConfig_fail.apiKey = "error";
2121
let auth = await CxWrapperFactory.createWrapper(cxScanConfig_fail);
22-
auth = auth.cloneWithNewConfig(cxScanConfig_fail);
2322
const cxCommandOutput: CxCommandOutput = await auth.authValidate();
2423
expect(cxCommandOutput.exitCode).toBe(1);
2524
});

0 commit comments

Comments
 (0)