Skip to content

Commit 4b6a334

Browse files
removed agent parameter
1 parent 89c7fc8 commit 4b6a334

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
@@ -137,7 +137,6 @@ export class CxWrapper {
137137
async scanAsca(
138138
sourceFile: string,
139139
updateVersion = false,
140-
agent?: string | null,
141140
ignoredFilePath?: string
142141
): Promise<CxCommandOutput> {
143142
const commands: string[] = [
@@ -366,7 +365,7 @@ export class CxWrapper {
366365
return await exec.executeCommands(this.config.pathToExecutable, commands, CxConstants.CODE_BASHING_TYPE);
367366
}
368367

369-
resultsShow(scanId: string, reportFormat: string, outputFileName: string, outputPath: string, agent?: string | null): string[] {
368+
resultsShow(scanId: string, reportFormat: string, outputFileName: string, outputPath: string): string[] {
370369
const commands: string[] = [CxConstants.CMD_RESULT, CxConstants.SUB_CMD_SHOW, CxConstants.SCAN_ID, scanId, CxConstants.REPORT_FORMAT, reportFormat];
371370
if (outputFileName) {
372371
commands.push(CxConstants.OUTPUT_NAME);

0 commit comments

Comments
 (0)