Skip to content

Commit 38c493f

Browse files
authored
Merge pull request #30 from CheckmarxDev/bug/fix_project_branch
Fixing the incorrect cast to CxProject of the project branch
2 parents 1ccaa9b + 1888ab4 commit 38c493f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/wrapper/CxWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export class CxWrapper {
135135
const commands: string[] = [CxConstants.CMD_PROJECT , CxConstants.SUB_CMD_BRANCHES, CxConstants.PROJECT_ID, projectId].concat(validated_filters);
136136
commands.push(...this.initializeCommands(false));
137137
const exec = new ExecutionService();
138-
return await exec.executeCommands(this.config.pathToExecutable, commands, CxConstants.PROJECT_TYPE);
138+
return await exec.executeCommands(this.config.pathToExecutable, commands);
139139
}
140140

141141
async projectShow(projectId: string): Promise<CxCommandOutput> {

0 commit comments

Comments
 (0)