Skip to content

Commit 18c961f

Browse files
fixed test cases
1 parent 4b6a334 commit 18c961f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/wrapper/CxWrapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ export class CxWrapper {
352352
return exec.executeResultsCommandsFile(scanId, CxConstants.FORMAT_HTML, CxConstants.FORMAT_HTML_FILE, commands, this.config.pathToExecutable, fileName);
353353
}
354354

355-
async getResults(scanId: string, resultType: string, outputFileName: string, outputFilePath: string, agent?: string | null) {
356-
const commands = this.resultsShow(scanId, resultType, outputFileName, outputFilePath, agent)
355+
async getResults(scanId: string, resultType: string, outputFileName: string, outputFilePath: string) {
356+
const commands = this.resultsShow(scanId, resultType, outputFileName, outputFilePath)
357357
const exec = new ExecutionService();
358358
return await exec.executeCommands(this.config.pathToExecutable, commands);
359359
}

src/tests/ScanTest.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ it.skip('ScanAsca with ignore file should filter one result', async () => {
292292
const cxCommandOutput: CxCommandOutput = await wrapper.scanAsca(
293293
sourcePath,
294294
false,
295-
null,
296295
ignoreFile
297296
);
298297

0 commit comments

Comments
 (0)